是否可以增加iptables 开启 ICMP Ping
sundxfansky opened this issue · 2 comments
sundxfansky commented
0-13-17 高级防火墙
1、允许PING设置
iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
iptables -A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT
2、禁止PING设置
iptables -A INPUT -p icmp --icmp-type 8 -s 0/0 -j DROP
kejilion commented
加上啦 去测试下
sundxfansky commented
牛,感谢大佬