I set global WebProxy by UBUNTU setting->network->networkProxy and then i open


and i get my proxy ip address but when i use this command:

wget -qO- http://ipecho.net/plain

I get my real ip address,Does not shell use global proxy setting ?

1 Answer 1


If you want to use wget with a proxy, use the --proxy=on option and export the proxy address with export http_proxy="http://proxy.example.com:8080"

See here: http://tech.gaeatimes.com/index.php/archive/how-to-use-wget-through-proxy/ or check the wget man page https://www.gnu.org/software/wget/manual/wget.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.