How to use cygwin behind the corporate firewall


I'm in a Microsoft IE environment, but I want to use cygwin for a number of quick scripting tasks.

How would I configure it to use my windows proxy information? Ruby gems, ping, etc are all trying to make direct connections. How can I get them to respect the proxy information that IE and firefox use?

Best Solution

Just for the records if you need to authenticate to the Proxy use:

export http_proxy=http://username:password@host:port/

Taken from: