Celeb Glow
general | March 13, 2026

ping google.com not sending any response

I am using Ubuntu 18.04. I tried checking my internet connection by pinging google but I only get this statement:

PING google.com (216.58.196.78) 56(84) bytes of data.

Pinging localhost works fine however.

I also checked other ips and websites too. But it is not working for any of them.

6

1 Answer

Probably an issue with your AP firewall or device firewall.
If it is the firewall on the ubuntu device, this issue would likely be fixed with these iptables rules:
iptables -I OUTPUT -j ACCEPT ## accept outgoing traffic
iptables -I INPUT -p icmp --icmp-type=echo-reply -j ACCEPT ### accept the input of echo replies

If this does not work, it is most likely your AP firewall assuming you have already confirmed that the device has internet access.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy