Файл настройки /etc/wgetrc

# You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.

http_proxy = ип прокси:порт

Тут  Подключение к прокси через малинку