# iptables -t filter -L INPUT --line-number
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT tcp -- anywhere anywhere
2 ACCEPT udp -- anywhere anywhere
3 ACCEPT icmp -- anywhere anywhere
# iptables -t filter -I INPUT 2 -p igmp -j ACCEPT
# iptables -t filter -L INPUT --line-number
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT tcp -- anywhere anywhere
2 ACCEPT igmp -- anywhere anywhere
3 ACCEPT udp -- anywhere anywhere
4 ACCEPT icmp -- anywhere anywhere
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |