Imported from the Apple Support Forums via the Wayback Machine 🔗
Hello, I am connected to internet through a proxy. I believe I have configured it correctly, because it works for the programs that access the internet (Firefox, Mozilla Thunderbird, Skype...).
The problem is: I can't connect to the internet from terminal.app . If I type, for example, ping http://www.google.com, I get:
Imported from the Apple Support Forums via the Wayback Machine 🔗
The Terminal is NOT responsible for how each individual application accesses the internet. That is the responsibility of each program.
So if your 'ping' utility has a way to specify a proxy server, then you have jump through whatever hoops your 'ping' command demands. Note: Mac OS X 'ping' man page does not mention proxy, so unless you have a different ping utility, the answer may be "No".
Now I've found that setting the following environment variables has allowed some network aware utilities to get through the firewall (wget and curl are the 2 I use the most via these environment variables):