Bitcoin Forum

Bitcoin => Mining support => Topic started by: bonksnp on May 29, 2013, 03:16:04 PM



Title: Mining behind a proxy?
Post by: bonksnp on May 29, 2013, 03:16:04 PM
So I wanted to setup a couple miners at work, but we use a .pac proxy file to connect to the internet.  The pool I'm part of uses port 3333.

Someone recommended I try proxifier and see if I could forward my connection to my house and then connect to the pool.  Is this possible?  I'm a bit of a noob with proxy/port forwarding and setting up a home machine as a proxy server, but I'm working on it.

I'm just wondering if anyone else has had experience with this and if I'm just wasting time trying to set all of this up.

If it helps any I'm using CGMiner on Win7.


Title: Re: Mining behind a proxy?
Post by: Zanatos666 on May 30, 2013, 02:11:08 PM
Yes, this works just fine.  I have used that same setup before (now I use BAMT, but still bounce my offsite rig off of my home proxy).

What you will need also need is a program called CCProxy that will run on your home rig.  You will also need to setup a new DNS address if you do not have a static IP at home, I use DynDNS.

Basically you will use proxifier to look for a specific program (in this case, CGMiner), and then it will direct that programs traffic to a specific address (web or IP) using an open port that you have declared (I used 443 since we used RDP and that port is open, but not being used).  Once it hits your home (either directly, or via DynDNS) your router will see the incoming info (you will need to set up some port forwarding stuff) and it will direct it to your machine running CCProxy.  CCProxy will see the info coming in, send it the appropriate place, and will send back any info coming back from it.

Its a little more detailed than that, but thats it in a gist.  Its completely doable since I used to do it before switching OS's.

BTW, does your pool support some other port other than 3333?  3333 seems to be the default stratum port for most pools, but I have seen other pools support 80, and even 443 in addition to 3333.  Check that first.  Might be an easier switch if you can use one of those ports that is already opened with your work.