Setup in /etc/wgetrc:
/etc/wgetrc
http_proxy = http://<IP>:<PORT>/ ftp_proxy = http://<IP>:<PORT>/ use_proxy = on