On server outside the firewall

July 25, 2012 ยท View on GitHub

HTTP tunnel for node.js

Objective

Tunnel arbitrary TCP connections through HTTP.

Security

Use an SSH tunnel over the HTTP tunnel

Forward ports over the HTTP tunnel

Use an SSH tunnel over the HTTP tunnel

How to use

# On server outside the firewall ./server & disown exit

On your machine inside the firewall

./client # This sets up a SOCKS5 server on your local machine

Use with SSH

ssh -o ProxyCommand "./ssh-connect

%h %p"

pwnt.