Go back to post Create new comment

RSS Be notified of new comments on this post with the RSS feed for this post.

#

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
#

You can use ssh tun features over icmp tunneling, for having unlimited access to the intertubes!

Look up the -w option in ssh(1) and PermitTunnel in sshd_config(5). You of course have to take one minute to set up routes etc, but the result is that you say goodbye to proxies, socks and all that cheesy setup.

Have fun. Steal much.

#

I use the combination ssh as socks server and the tsocks-wrapper for all tunnel-tcp-connections.

#

where i can find "proxy.example.com" and "portal.example.com" i don't understand in point 1 making ptunnel

#

you still need at least one remote computer that have an internet connection right? well i don't have that... so i can't use this ping tunnel... thx btw

Go back to post

Create a new comment

Go to the top

You can use a restricted version of markdown formatting here. You can use the toolbar above the text field to make this more painless. For more information about markdown please refer to the markdown cheatsheet.

For post: Using ICMP tunneling to steal Internet
Your name:
Your email (optional):
Your website (optional):
 
 
 

A preview of your comment:

Powered by Debian, Jack Daniels, Guinness, and excessive quantities of caffeine and sugar.