Often times you will run into machines that are on a restricted network and you have a proxy server that you can bounce through click over here now. To use a proxy in Linux, set the environment.
export http_proxy=http://server-ip:port/
References:
http://www.cyberciti.biz/faq/linux-unix-set-proxy-environment-variable/