Get CPAN working from behind a firewall
Microsoft Proxy server... Sigh, it's non standard authentication is still causing problems. To get CPAN working behind Proxy Server, I did the following:
- Download and install ActiveState Perl
- Download and install ActiveState Python
- Download and install cygwin
- Download and install NTLM Authorisation Proxy Server
- Configure NTLM Authorisation Proxy Server with your NT login info
- Run NMLM Authorisation Proxy Server - runserver.bat (leave CMD window open)
- Run c:\perl\bin\CPAN.bat which will force you to configure, accept all the defaults and then when it comes to http_proxy and ftp_proxy, enter MachineName:Port from the NTLM Proxy) (e.g. mine is GallagherC:5865)
edit server.cfg PARENT_PROXY:[server] PARENT_PROXY_PORT:[port] NT_DOMAIN:[nt-domain] USER:[userid] PASSWORD:[password] Edit runserver.bat "c:\python23\python.exe" main.py
This technique will work with lynx web browser too if you configure the NTLM Proxy in c:\cygwin\etc\lynx.cfg