Skip to content
This repository has been archived by the owner on May 15, 2018. It is now read-only.
/ gohttptun Public archive

A tool to tunnel TCP over HTTP, written in Go

Notifications You must be signed in to change notification settings

nf/gohttptun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gohttptunnel

A tool to tunnel TCP over HTTP 
by Andrew Gerrand <[email protected]>

Example usage:

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

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=127.0.0.1:22 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 [email protected]

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

About

A tool to tunnel TCP over HTTP, written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages