CNTLM

Configuraiton

  • cntlm -H -user $username: generate hash

  • configure cntlm.conf

Username $username
Domain domain.local
PassLM          .... (get from cntlm -H -u $username)
PassNT          .... (get from cntlm -H -u $username)
PassNTLMv2      .... (get from cntlm -H -u $username)
Proxy server1:8080
Proxy server2:8080
Proxy bc-proxy.rtdomau.local:8080
#Proxy bc-uat-proxy.rtdomau.local:8080
NoProxy  localhost, 127.0.0.*, 10.*, 192.168.*, *.domain.local
Listen  0.0.0.0:3129
  • cntlm -v -c cntlm.conf

  • Then export http and https proxy setting

    • Linux:

    export http_proxy="localhost:3219"
    export https_proxy="localhost:3219"
  • Access internet such as: curl https://www.google.com

Reference

  • https://vijiboy.wordpress.com/2018/03/14/configure-cntlm-to-generate-hash-for-your-password-h-and-verify-m/

Last updated