Using A Proxy Server - Raspberry Pi Documentation
Using A Proxy Server - Raspberry Pi Documentation
If you want your Raspberry Pi to access the internet via a proxy server (perhaps
from a school or other workplace), you will need to con gure your Pi to use the
server before you can get online.
export http_proxy="http://proxyipaddress:proxyport"
export http_proxy="http://username:password@proxyipaddress:proxyport"
export https_proxy="http://username:password@proxyipaddress:proxyport"
export http_proxy="http://username:password@proxyipaddress:proxyport"
export https_proxy="http://username:password@proxyipaddress:proxyport"
export no_proxy="localhost, 127.0.0.1"
Update sudoers
In order for operations that run as sudo (e.g. downloading and installing
software) to use the new environment variables, you'll need to update sudoers .
sudo visudo
Add the following line to the le so sudo will use the environment variables
you just created:
Reboot
Reboot your Raspberry Pi for the changes to take effect.
You should now be able to access the internet via your proxy server.
ABOUT US SUPPORT
About us Help
Our team Documentation
Governance Projects
Safeguarding Training
Our supporters Downloads
Jobs Research
Contact us FAQ
SUBSCRIBE
RASPBERRY PI FOUNDATION
UK REGISTERED CHARITY 1129409