How To Use Wget with Proxy

January 7, 2009

This tutorial for download using wget but your computer behind proxy non transparent

1. change wgetrc file. Changing this file using your favourite text editor. I am using vi editor 

vi /etc/wgetrc

2. Search http_proxy tag

http_proxy=http://proxy.yoyodyne.com:18023/

erase “#” sign

3. change http_proxy=http://proxy.yoyodyne.com:18023/

with Your proxy URL and proxy port 

4. Search use_proxy tag

erase “#” sign

5. Save file with this command:

 esc + :wq

6. now, You can download with command below:

wget http://penguintux.blogsome.com/2009/01/07/how-to-use-wget-with-proxy/ –proxy-user=penguintux –proxy-password=penguintux

if Your proxy don’t have authentication You don’t need –proxy-user=penguintux –proxy-password=penguintux

happy coding and hacking 

Get free blog up and running in minutes with Blogsome
Theme designed by Viewfinder Design