From Boldcore's wiki
Jump to: navigation, search
 
Line 13: Line 13:
 
export http_proxy=http://IP:Port/
 
export http_proxy=http://IP:Port/
  
 +
(Optional)
 
Add the variables to /etc/environment to make the settings persistent.
 
Add the variables to /etc/environment to make the settings persistent.
  
 
</pre>
 
</pre>

Latest revision as of 06:40, 26 April 2017

Linux Proxy variables

If You are connecting to the Internet thru proxy.

export http_proxy=http://8.8.8.8:8080/
export https_proxy=https://8.8.8.8:8080/
export ftp_proxy=http://8.8.8.8:8080/

# Start new Shell with new variables defined.
bash 

export http_proxy=http://IP:Port/

(Optional)
Add the variables to /etc/environment to make the settings persistent.