Skip to content

Instantly share code, notes, and snippets.

@goude
Created October 11, 2014 16:00
Show Gist options
  • Save goude/cf30a088130b0d707e20 to your computer and use it in GitHub Desktop.
Save goude/cf30a088130b0d707e20 to your computer and use it in GitHub Desktop.
VirtualBoxed Linux proxy configuration for host's cntlm
# http://stackoverflow.com/questions/1261975/addressing-localhost-from-a-virtualbox-virtual-machine
# /etc/apt/apt.conf.d/95proxies
Acquire::http::proxy "http://10.0.2.2:3128";
Acquire::ftp::proxy "http://10.0.2.2:3128";
Acquire::https::proxy "http://10.0.2.2:3128";
# setup environment variables using https://github.com/goude/yaprox
$ yaprox -q 10.0.2.2:3128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment