Comment on Using ICMP tunneling to steal Internet

sean@recountal.org
Mon, 28 Jan 2008 20:40:23 +0000

You can use the SSH connection as a SOCKS proxy:

$ ssh -D 8080 localhost -p 8765

Then set your browser to use port 8080 as a SOCKS5 proxy.

The interweb!

Or setup a SOCKS proxy on your 'proxy' host and tunnel directly to it with:

$ sudo ptunnel -x mypassword -p myproxy -lp 8765 -da localhost -dp 8080

**My setup:***

Router at home (Linksys router with OpenWRT firmware)

cronjob to update my dynamic dns record 'proxy.mydomain'

# ipkg install ptunnel

# ptunnel -x mypassword -f ptunnel.log &

On client system (Debian)

$ sudo aptitude install ptunnel

$ sudo ptunnel -x mypassword -p proxy.mydomain -lp 8765 -da localhost -dp 22

$ ssh -D 8080 localhost -p 8765

Install FoxyProxy extension in Firefox

Configured SOCKS5 proxy: localhost:8080