Как запретить ping в iptables

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Как запретить ping в iptables

Для запрета пинга сервера в iptables используйте команду:

# iptables -A INPUT -p icmp -i eth0 -j DROP