- 论坛徽章:
- 0
|
iptables -L看到如下:
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- 218.1.1.10 anywhere
REJECT all -- anywhere anywhere reject-with icmp-host-prohibit
下面这句什么意思
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
如果是全部流量都允许通过,那后面的规则就没有意义了,另外这句也是:
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere |
|