Use the following environment variables for configuration:
CNTLM_PROXY
(mandatory): address of the upstream proxy (example: proxy.example.com:89)CNTLM_NO_PROXY
(optional): addresses and hostnames to bypass the proxy: (default: localhost, 127.0.0., 10., 192.168.*, *.local)CNTLM_USERNAME
(optional): username to login to the upstream proxyCNTLM_DOMAIN
(optional): domain to login to upstream proxy
For authentication one or multiple of the following passwords can be set:
CNTLM_PASSWORD
(optional): plain text password to login to upstream proxyCNTLM_PASSNTLMV2
(optional): NTLMv2 password to login to upstream proxyCNTLM_PASSNT
(optional): PassNt password to login to upstream proxyCNTLM_PASSLM
(optional): PassLM password to login to upstream proxy
Usages examples :
- Simple example without authentication
docker run -it --rm --name mycntlm -e CNTLM_PROXY="proxy:8100" bachp/cntlm
- With authentication
docker run -it --rm --name mycntlm -e CNTLM_PROXY="proxy:8100" -e CNTLM_USERNAME="me" -e CNTLM_PASSWORD="mypass" bachp/cntlm
Additonal parameters to cntlm can be passwd ass argument to the container.