Wednesday, January 27, 2010

wget through proxy server

Edit the file /etc/wgetrc

in that file find the section that has these settings, un comment them and set to your proxy settings.

http_proxy = http://yourproxyserver:port/
ftp_proxy = http://yourproxyserver:port/

use_proxy = on

now you can use wget through your proxy

also if you need to authenticate you can use these with the wget command

wget --proxy-user=.. --proxy-passwd=..

No comments:

Post a Comment