export http_proxy=http://192.168.56.1:9999
export https_proxy=http://192.168.56.1:9999
set HTTP_PROXY=http://192.168.56.1:9999
set HTTPS_PROXY=http://192.168.56.1:9999
Install proxy plugin using the following command:
vagrant plugin install vagrant-proxyconf --plugin-source http://rubygems.org`
See also : https://github.com/tmatilai/vagrant-proxyconf
# vagrant plugin install vagrant-proxyconf
if Vagrant.has_plugin?("vagrant-proxyconf")
config.proxy.http = "http://192.168.56.1:9999"
config.proxy.https = "http://192.168.56.1:9999"
config.proxy.no_proxy = "localhost,127.0.0.1"
end
- If NTLM authentication support is required: http://cntlm.sourceforge.net/