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!
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