Pinging my default gateway is working properly and I can browse google and facebook in my browser. But, ping google.com and ping facebook.com on my terminal are not working.

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

Is just stuck. I also tried to reinstall resolvconf with sudo apt-get remove --purge resolvconf && sudo apt-get install --reinstall resolvconf. But still it doesn't work.

1 Answer 1


Outgoing ICMP (ping) is probably blocked by your firewall or gateway. That you are able to browse the Internet does not need ICMP (ping) to be working. You also might have a proxy configured which allows you to only surf the web.

  • any way to get around this?
    – Dara Java
    Dec 26, 2017 at 13:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .