Think before you speak, read before you think.

iptables的connmark匹配和目标

来自于

Linux iptables Pocket Reference

connmark Match 是基于packet’s connection mark(包连接标记)

匹配:

–mark value 匹配=value的连接

目标:

–set-mark value 设置标记为整数值
–save-mark 保存包的标记
–restore-mark 恢复包的标记

 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *