Apply Proxy on Linux

This section is for our team to post helpful articles. Let us know if you'd like to contribute!
arifur
Site Admin
Posts: 111
Joined: Tue Nov 15, 2011 5:12 pm

Apply Proxy on Linux

Post by arifur » Sun Nov 05, 2017 7:48 pm

Open

Code: Select all

/etc/environment
And add proxy

Code: Select all

http_proxy="http://user:password@proxyserver:port" 
https_proxy="http://user:password@proxyserver:port" 
ftp_proxy="http://user:password@proxyserver:port"
Example without authentication

Code: Select all

http_proxy="http://1.2.3.4:1234"
Example with authentication

Code: Select all

http_proxy="http://some-user:some-password@1.2.3.4:1234" 

Return to “Linux Howtos”

Who is online

Users browsing this forum: No registered users and 0 guests