Tip on setting up wget to use a http or ftp proxy.
If .wgetrc isn’t already in your user directory make sure to create it.
# touch ~/.wgetrc
Now edit ~/.wgetrc with your favorite editor, and add the following values:
http_proxy = ipaddress:port
ftp_proxy = ipaddress:port
use_proxy = on
ftp_proxy = ipaddress:port
use_proxy = on