Security News > 2021 > June > How to use wget behind a proxy
If wget is your go-to download command on your Linux servers, and your machines are behind a proxy, Jack Wallen has the solution to get this setup working properly.
The developers of wget considered this and built in the necessary options for using the tool when behind a proxy.
Wget -proxy=PROXY FILE. Where PROXY is the proxy server you're machine is behind, and FILE is the name of the remote file to download. That's not exactly how this works.
What you'll need How to configure wget for a proxy.
To allow wget behind a proxy, you must edit a configuration file and add the necessary addresses.
Https proxy = HTTPSPROXY:PORT http proxy = HTTPPROXY:PORT. Where HTTPSPROXY is your HTTPS proxy server address, HTTPPROXY is your HTTP proxy address, and PORT is the required port for your proxy.
News URL
https://www.techrepublic.com/article/how-to-use-wget-behind-a-proxy/#ftag=RSS56d97e7