Bitcoin Forum

Bitcoin => Mining => Topic started by: Bernd33-1 on January 20, 2013, 03:33:42 PM



Title: Mining behind a proxyserver - maybe it works
Post by: Bernd33-1 on January 20, 2013, 03:33:42 PM
Mining behind a proxyserver. Maybe it works :-)

Sometimes you have a good computer to mine but you are behind a proxyserver that blocks Port 8332. Even more, you have to authenticate at the proxyserver. What can we do? You can set the proxyserver (with authentication) in the dosbox (command window). And maybe it will work.

Here is my configuration:

A windows network with domain.
A proxyserver which allows surfing over port 8080. I have to authenticate at the proxy (this happens automatically at windows logon).
I use CGMINER and mine at BTCGuild over port 80

Name of my proxyserver: myproxyserver
Windows domain: mydomain
My Windows user in the domain : mydomainuser
My Windows domain password : mydomainpassword

My CGMINER is located in C:\MINER. To start cgminer I wrote a small CMD file called A.CMD which is also located in C:\MINER. The content of A.CMD:

set http_proxy=http://mydomain\mydomainuser:mydomainpassword@myproxyserver:8080
cgminer -o http://mine2.btcguild.com:80 -u MINERUSERNAME -p MINERPASSWORD -r 3

To start mining, I open a dosbox (command window), change to C:\MINER and enter A.CMD

Some hints:

- Maybe your proxyserver didn't require authentication. Then the SET command looks like:
set http_proxy=http://myproxyserver:8080

- Maybe your proxyserver didn't use port 8080. Often you can check the proxyport in the Internetexplorer. In the IE open INTERNET OPTIONS -> CONNECTIONS -> LAN SETTINGS and take a look there at the Proxy Server settings.

- You have always to close and reopen the dosbox (command window) when you make changes at the SET command.

Good luck and have fun :-) , Bernd


You found that useful? Then make a small donation 136JbTsy9tL1TUWza9XxVVdN4UedurFqqL