Advanced

SSH Tunnels: Using a service from a nated (twice) box

Posted by eantoranz on · 1 comment
Technology FLOSS; By Edmundo Carmona
Mail this story
Print this story

Recently I have being managing a box using a 3rd party application that allowed me to handle a windows box where I could use putty to get SSH access to a linux box. It had to be done this way because both my box and the linux box are nated, so they can't reach each other. Let me say it was a real PITA. The keyboard layouts were getting on my nerves. Some important keys didn't work sometimes... or at all (like ; or @ or ', etc). After a while I was encouraged enough to dig for a solution to get access to the SSH service of the linux box directly (or almost) instead of depending on this mess I was using.

Full Story

  Nav
» Read more about: Story Type: Tutorial

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (1)

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).

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post