[Welcome to Sensei's Library!]

StartingPoints
ReferenceSection
About


Referenced by
FaceToFaceVsInter...

 

Connecting Through Firewalls
    Keywords: Software

FIRST DISCLAIMER - Any consequences of applying the following procedures to gain access to the internet go servers from behind a firewall are strictly and solely your own responsibility. In case of doubt, it is best to consult the system or network administrator responsible for the firewall. Sensei's Library does not take responsibility for reprimands, termination of contract or other punishments your boss may inflict on you.

SECOND DISCLAIMER - Certainly one and probably both of the below setups will reveal your go server username/password combination to a third party. Think about whether you can live with that and realise that any consequences of the abuse or misuse of your account on the go server are yours and yours only.

Method 1 - Socks2HTTP and Sockscap

Step 1

Install a program called Socks2HTTP on your PC. It will reroute socks protocol calls to the HTTP protocol. Point the rerouted HTTP calls to the HTTP proxy of the firewall. You can download a demo here [ext] http://www.totalrc.net/s2h/index.html.

Step 2

Install a program called Sockscap 32, which 'socksifies' any application. Add a new entry for your go client. Have Sockscap point to localhost and port 1080 as a socks server (where Socks2HTTP will pick it up - you get the picture).(Download here [ext] http://www.socks.nec.com/reference/sockscap.html)

Step 3

Launch Socks2HTTP, launch Sockscap, run the entry of your client, and it's as if there's no firewall in your way.

Method 2 - cliser

This one is untested, but as the principle is more or less the same, it should work as well. It has the additional advantage of requiring only one piece of software. Download cliser from the author's [ext] website. Start it up on your system (parameters are your HTTP proxy and the address and port of your favourite go server). Starting your preferred go client and logging in on localhost will redirect to the go server.

Method 3 - SSH

This one is known to work with, at least, KGS: it's dependent on your having [ext] SSH shell access to an Unix (or similar) system outside your firewall.

Windows users can obtain a suitable SSH client through the [ext] cygwin suite of Unix tools; MacOS X and Unix systems have one provided.

Then, enter the following:

ssh -l user remote-host -L localport:goserver:goserverport

(for example, I use "ssh -l adw27 poseidon -L 2379:kgs.kiseido.com:2379"), and configure your client to connect to localhost:localport instead of the remote server's IP and port. It's worth noting that this will expose your Go server username and password, potentially, to the root user of the system you're forwarding through. However, traffic between your machine and said forwarding box will be encrypted.




slightly different emphasis here: i have found that i cannot conect to go servers through my company firewall but i can log onto "instantgames.com", who does have a go playing environment. Unfortunatly for me, very few people go there. Since it's my only option, i'll be there, hoping someone might join me someday,,, Martin




This is a copy of the living page "Connecting Through Firewalls" at Sensei's Library.
(OC) 2003 the Authors, published under the OpenContent License V1.0.