This repository has been archived by the owner. It is now read-only.
A tool to tunnel TCP over HTTP, written in Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
tun-client add license Sep 23, 2013
tun-server add license Sep 23, 2013
.gitignore sync package Apr 13, 2010
README README: fix typo Jan 22, 2014



A tool to tunnel TCP over HTTP 
by Andrew Gerrand <>

Example usage:

Run 'server' at your endpoint, by default it listens on port 8888.

Run 'client' on your local machine, by default it listens locally on 2222.
Use -http=serverAddress:8888 to point to your server, 
and -dest=destAddr:destPort to point to your tunnel endpoint
(default is -dest= to connect to local sshd on the server).
	./client -http=serverAddress:8888

With both of them running (you must start server first), you can then
connect via ssh to localhost:2222 on the local machine:
	ssh -p 2222 username@

You should then be tunnelling SSH over HTTP. Pretty neat, huh?