Cntlm Authentication Proxy



In zwei Schritten:

  1. Konfigurationsdatei anlegen cntlm.ini

  2. Test starten und Ausgabe notieren
    cntlm -c cntlm.ini -I -M http://google.com

  3. Ausgabe in die Konfigurationsdatei kopieren (Passwort und Authentifizierungsmethode)

  4. Proxy 127.0.0:3128 in Firefox, Chrome, Ubuntu, Dropbox usw. eintragen





Die folgende Konfiguration funktioniert bei mir (Ubuntu 13.04 32 bit)

Username uuuuu

Domain htl-md.schule

Auth NTLMv2

PassNTLMv2 03C7A1232939B5CC27

Proxy 10.0.11.31:8080

Proxy proxy.minic.ac.at:8080

NoProxy localhost, 127.0.0.*, 10.*, 192.168.*

Listen 3128











http://stackoverflow.com/questions/9181637/how-to-fill-proxy-information-in-cntlm-config-file



update your user, domain, and proxy information in cntlm.ini, then test your proxy with this command (run in your Cntlm installation folder):

cntlm.exe -c cntlm.ini -I -M http://google.ro

It will ask for your password, and hopefully print your required authentication information, which must be saved in your cntlm.ini

Sample cntlm.ini:

Username            user
Domain              domain

# provide actual value if autodetection fails
# Workstation         pc-name

Proxy               my_proxy_server.com:80
NoProxy             127.0.0.*, 192.168.*

Listen              127.0.0.1:54321
Listen              192.168.1.42:8080
Gateway             no

SOCKS5Proxy         5000
# provide socks auth info if you want it
# SOCKS5User          socks-user:socks-password

# printed authentication info from the previous step
Auth            NTLMv2
PassNTLMv2      98D6986B123C1686B58A09