ssh tunnelling

Story: SSH Tunnels: Using a service from a nated (twice) boxTotal Replies: 0
Author Content
AnonymousCoward

Jun 08, 2009
10:21 PM EDT
This brilliant little feature enabled me to browse the web from an ISP whose service used transparent proxying... which was not working at the time:

ssh -cp2222 -L3128:localhost:3128 name.of.server

This allowed me to aim Firefox’s proxying config at the local box, which would then be tunnelled through to hit Squid on the remote box (a server at a static IP address on a reliable ADSL connection, one block from the exchange, 23Mb inbound) to enable conceptually direct access to the InterWebThingy.

With a DSA key & the same username on the remote host, I didn’t even need to supply a password.

With PuTTY (makes Windows useful) on the local end, that trick can still be done (hunt around the config panels a little).

Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]

Becoming a member of LXer is easy and free. Join Us!