Loading...

Declare proxy

export http_proxy='http://user:password@proxy-server:3128'
export https_proxy='http://user:password@proxy-server:3128'
export ftp_proxy='http://user:password@proxy-server:3128'

Instead of three exports commands you use an array for that:


export {http,https,ftp}_proxy='http://user:password@proxy-server:3128'

Example for usage in VirtualBox or in your personal .bashrc


export {http,https,ftp}_proxy='http://10.0.2.2:3128'

Don’t forget the no_proxy rule :smile:

export no_proxy="localhost,127.0.0.*,10.*,192.168.*"