A proxy server was added using export http://link:port/.

I try to ping google.com and there is no response, the DNS is able to resolve an IP. wget of google.com works.


Destination     Gateway         Genmask         Flags Metric Ref    Use Iface   *        U     0      0        0 eth0
link-local      *          U     1002   0        0 eth0
default         UG    0      0        0 eth0

ip tables:

:OUTPUT ACCEPT [21:2344]
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited

any ideas?

  • Disable iptables and try again
    – Ijaz Ahmad
    Commented Jan 14, 2016 at 21:20

2 Answers 2


google and most other publicly accessed sites are configured to NOT RESPOND to ICMP requests, as it is an attack vector for denial of service type of attacks. But wget is a web browser for all intents and purposes. Hence the website will respond to http and https requests, and probably nothing else. And there is nothing you can do about it.

  • 2
    Google does answer to ping, your answer is not related to question. (Unless they select certain countries where they block it, but in all western that I've tried it has worked.)
    – D.S
    Commented Jan 14, 2016 at 23:01

As it seems, the probes have most likely been lost on the way out (or the replies haven't been accepted back in somewhere en route). I have checked the layout, and everything works just fine, even ICMP.

I've even managed to ping a remote host even after deleting the rule handling ICMP.

You must log in to answer this question.

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