Bitcoin Forum
December 12, 2024, 10:47:41 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mining in Windows beyond a restrictive Proxy Server  (Read 7033 times)
Jay_Pal (OP)
Legendary
*
Offline Offline

Activity: 1493
Merit: 1003



View Profile
October 04, 2011, 05:06:52 PM
 #1

Since myself had some problems finding this information around, after lots of digging, I found the solution the hard way.
Now, I'm sharing this so anyone can enjoy mining without further search.
And believe me... it's soooo easy...
First you need a SSH server. Yeah, that's right, an SSH server outside. You could use your own home router as server if it has DD-WRT or your own home computer.
You'll be tunneling SSH out your restrictive firewall.
For more information on setting this, please refer to http://www.extremetech.com/computing/93106-escaping-the-firewall-with-an-ssh-tunnel-socks-proxy-and-putty.
I use my own sshd at home, since i need to pass this firewall using port 443 - no other port is allowed for ssh requests, and I'll have to stick with it, until I find a server with ssh on 443 also...
Now... the real trick...
Leave the settings under Connection->SSH->Tunnels as stated in the article (useful to make the bitcoin wallet or any other program access internet), but... we'll be adding another like this:

  • Surce port: any you want, but I recommend not using any you might need (like 80, 8080, 22, 23, 443, etc), so I have chosen 320.
  • Destination: Your favorite pool, for example pool.bitlc.net:80 - (for slush it would be api.bitcoin.cz:8332 - no "HTTP://")

Now, click "Add".
Don't forget to save and then, open this connection, insert your user and your password to access the server. After that, leave this putty window open (or minimized).
Now, lets head to the miner software.
Open a command line window or, if you're using Guyminer, and compose your usual mining command (for example d:\cgminer-2.0.4-win32\cgminer-cpuonly.exe -o localhost:320 -u user -p password) - take a notice of the bold part - you tell the client your mining pool is in your local computer in the port you specified in Putty.
Don't use port 8080 also specified in putty, since that one won't forward to the pool.
Now, just sit back and watch it mining!  Cheesy

If I've missed something, please feel free to reply it bellow.

If you think I deserve some kind of donation, I would be extremely glad to receive them in 1G1zAAw8Z4xmsvZM4KQa2k1FN6KEnQPhxb  Grin Grin

Best faucet EVER! - Freebitco.in
Don't Panic... - 1G8zjUzeZBfJpeCbz1MLTc6zQHbLm78vKc
Why not mine from the browser?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!