初学.IPTABLES 有些地方实在不太明白 求助.
用命令
iptables -A INPUT .-s 127.0.0.1 -p i.cmp -j DROP 外汇
来.DROP掉来自 本机器的所有ICMP PACKAG.ES .
然后iptables -L
有如下显示:
tar.get . prot opt source destination.
RH-Firewall-1-INPUT all -- any.where anywh.ere外贸
DROP . . icmp -- localhost.localdomain anywhere(广告)
第3排说明RULE 已经 .APPEND 上去了虚拟主机
但是之后用PING 命令 PING 127.0。0.1 依然正常收到.PACKA.GES。。。健康
不解。。 :
依然可以收到:
64 bytes fr.om 12.7.0.0.1: icmp_seq=0 ttl=64 time=0.059 ms学习