小编bad*_*dar的帖子

iptables 默认规则理解

以下规则中的最后一部分在 (dtp:domain, bootps) 中允许的流量方面意味着什么?根据我的研究,我知道 bootps 是引导程序,而 dpt 是目标端口,但我不知道它实际在做什么或允许什么,我怀疑它允许任何数据包进入,因为这样的默认规则没有意义。(我查看了 iptables 的手册页,但找不到答案)

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:bootps 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:bootps 
Run Code Online (Sandbox Code Playgroud)

iptables

2
推荐指数
1
解决办法
7854
查看次数

标签 统计

iptables ×1