>>> 此贴的回复 >> 在主机上(192.168.1.3)上启用iptables 添加如下规则(运行下面的命令): iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT DROP iptables -t nat -P PREROUTING DROP iptables -t nat -P POSTROUTING DROP iptables -t nat -P OUTPUT DROP iptables -A INPUT -p icmp -s 192.168.1.250 -d 192.168.1.3 -i eth0 -j ACCEPT iptables -A OUTPUT -p icmp -s 192.168.1.3 -d 192.168.1.250 -o eth0 -j ACCEPT