Tag Info

New answers tagged


You don't have ICMP allowed in your iptables rules. iptables -A INPUT -p icmp -j ACCEPT iptables -A OUTPUT -p icmp -j ACCEPT


You need to allow ICMP requests inbound, something like this should do it: iptables -A INPUT -p icmp --icmp-type 8 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT


Allow ICMP and your ICMP Echo Request will reach the server, allowing it to reply back.


How exactly does ping -a resolve the host name? This is called reverse DNS. Forward DNS resolves names into IP addresses. Reverse DNS resolves IP addresses into names. When you type ping -a into your computer, it issues the DNS query PTR PTR stands for pointer record. Why is everything except 'ping -a' work ...

Top 50 recent answers are included