Block ping from localhost
root@ace1:/home/c1audio# iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
root@ace1:/home/c1audio# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP icmp — localhost anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@ace1:/home/c1audio# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
^C
— 127.0.0.1 ping statistics —
9 packets transmitted, 0 received, 100% packet loss, time 8062ms