Detecting SSH tunnels on a linux firewall

Troy Bowman troy at
Fri Jan 12 13:03:38 MST 2007

On Wed, 2007-01-10 at 10:24 -0700, Matthew Walker wrote:

> Won't work. I can use Putty to create an SSH tunnel to a server I control
> running Squid, and direct my local browser to use the localhost port as
> proxy.

Actually, you don't even need squid on the other end.  All you need is
to make ssh use its DynamicForward:

$ ssh -N -f -D 1080 remotehost

And, bam! I have a socks5 proxy tunnel from your localhost to the
remotehost.  Any application that can use socks5 (firefox, xchat, gaim,
etc) can now use the tunnel to connect to anything through the tunnel
and from the remote host.


More information about the PLUG mailing list