iptables: Allow icmp ping Request

Tags: April 30, 2012 1:33 PM

Sometimes when debugging network configuration, ping is one of the tools. But many iptables configuration drop all incoming request so here's how to temporary enable it.

iptables -A INPUT -p icmp -j ACCEPT
After all the debugging, it's easy to delete the rule.
iptables -D INPUT -p icmp -j ACCEPT

Share on Facebook Twitter

0 comments:

Post a Comment