Setting wget to use a HTTPS proxy

Written by James McDonald

July 25, 2012

Edit /etc/wgetrc for global change or ~/.wgetrc for a per user change and add:

http_proxy = http://192.168.50.22:3128
https_proxy = http://192.168.50.22:3128
ftp_proxy = http://192.168.50.22:3128

Where 192.168.50.22 is the IP Address of your proxy server and 3128 is the port it is listening on.

For system wide proxy configuration for other applications on Suse:

Edit /etc/sysconfig/proxy

PROXY_ENABLED="yes"
HTTP_PROXY="http://192.168.50.22:3128"
HTTPS_PROXY="http://192.168.50.22:3128"
FTP_PROXY="http://192.168.50.22:3128"
GOPHER_PROXY=""
NO_PROXY="localhost, 127.0.0.1"

Set the proxy temporarily from the command line:

export http_proxy=http://192.168.50.22:3128
export https_proxy=http://192.168.50.22:3128
export ftp_proxy=http://192.168.50.22:3128

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

How to Research a CPU Upgrade

How to Research a CPU Upgrade

Upgrade Time! Doing a lot of VMWare Workstation virtualization to create labs for self-study and training. Finding...