Bitcoin Forum
November 21, 2018, 06:54:12 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
   Home   Help Search Login Register More  
Pages: [1]
Author Topic: Mining behind proxy that requires authentication. Here is how it works  (Read 4822 times)
Sr. Member
Offline Offline

Activity: 302
Merit: 252

View Profile
April 09, 2013, 01:25:57 PM


always had trouble mining behind a proxy which requires authentication, eg. domainuser and password?

Here is the way I did it:
Using cntlm authentication proxy:

The proxy installs as a servive, which authenticates to the normal domain proxy and then offers a proxy port which does not need authentication.
Installed on my mining machine, it works perfectly.

1. Download cntlm from
2. Unpack to a temporary directory
3. Edit the cntlm.ini to set your proxy, port and username /password
4. Use the following commands in a batch file to install as a service

set DIR=C:\Progra~1\Cntlm
if not exist "%DIR%" md "%DIR%"
copy /Y cntlm.exe "%DIR%"
if not exist "%DIR%\cntlm.ini" copy /Y cntlm.ini "%DIR%"
copy /Y cygrunsrv.exe "%DIR%"
copy /Y cygwin1.dll "%DIR%"
copy /Y uninstall.bat "%DIR%"
"%DIR%\cygrunsrv.exe" -R cntlm 2>NUL
"%DIR%\cygrunsrv.exe" -I cntlm -s KILL -t auto -p "%DIR%\cntlm.exe" -d "Cntlm Authentication Proxy" -f "HTTP Accelerator" -a "-f -c %DIR%\cntlm.ini"

5. start the service and connect your miner to your pool via proxy localhost:3128 (or whatever port you set in the cntlm.ini)

If it works for you, I would be glad about some donation  Smiley

btw: also works with google drive this way, as the client does not support authentication..

Remark: For security reason, do not use your domainpassword in the .ini file, use cntlm -H to create a hash of it instead and then use parameter 'PassNTLMv2' instead of 'Password'
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!