cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Cloud



Etc


Reference














.

middleware:proxy:ntlmaps.html



Proxy Server

NTLM Authorization Proxy Server (ntlmaps)

About

How to use ntlmaps

Linux, Cygwin

# unzip ntlmaps-0.9.9.0.1.zip
# mv ntlmaps-0.9.9.0.1 /usr/local/ntlmaps
# cd /usr/local/ntlmaps
# mv server.cfg server.cfg.20160626
# grep -Ev "^#|^$" server.cfg.20160626 > server.cfg
# vi server.cfg

[GENERAL]
LISTEN_PORT:8080
PARENT_PROXY:192.168.xx.xx
PARENT_PROXY_PORT:8080
ALLOW_EXTERNAL_CLIENTS:1  <- you are permited the using this ntlmpas by the others.

[NTLM_AUTH]
NT_DOMAIN:example.local
USER:administrator
PASSWORD:pass


# python main.py
# export http_proxy=http://localhost:5865
# wget -S --spider http://www.yahoo.co.jp
# curl -I http://www.uniqlo.com/


Windows

  1. Download
  2. decompression the downloaded file.
  3. Editting server.cfg
    LISTEN_PORT:8080
    PARENT_PROXY:192.168.xx.xx
    NT_DOMAIN:example.local
    USER:administrator
    PASSWORD:pass
    
  4. Editting runserv.bat with python path
    @echo off
    "c:\program files\python\python.exe" main.py -> python main.py
  5. Execute runserver.bat
  6. Software's Proxy Settings
    http://localhost:port/
    



middleware/proxy/ntlmaps.html.txt ยท Last modified: 2016/06/11 by admin

Page Tools