Table of Contents

CNTLM local proxy for corporate proxy

This one authenticates with NTLM at your corporate proxy.

proxy your system's requests

export http_proxy="http://127.0.0.1:3128/"
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export rsync_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
export FTP_PROXY=$http_proxy
export RSYNC_PROXY=$http_proxy

apt

/etc/apt/apt.conf.d/30proxy
Acquire::http::proxy "http://127.0.0.1:3128";
Acquire::https::proxy "https://127.0.0.1:3128";

LXD

lxc config set core.proxy_http http://squid01.internal:3128
lxc config set core.proxy_https http://squid01.internal:3128
lxc config set core.proxy_ignore_hosts image-server.local

wget

/etc/wgetrc
# You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
https_proxy = http://127.0.0.1:3128
http_proxy = http://127.0.0.1:3128
ftp_proxy = http://127.0.0.1:3128

also applies to plain LXC.