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.
61 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 trafficiptables -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.