Andrew McDonough

Please note: This page is imported from my wiki, which hasn't been updated in over 10 years. Some of the formatting was lost during the import. I'll try to get around to fixing it someday.

SSH Tunneling

You can use an SSH connection to tunnel a connection on another port to a third sever on an internal network. Chose an abitrary port e.g. 1234

ssh -L xxxx::yyyy @

e.g. you could use this to get access to your router’s web interface:

ssh -L 1234: root@

Once you have opened this connection, on your local computer go to:


and the page will open as if you were on your internal network.

Andrew McDonough

Andrew McDonough is a consultant CTO and software developer, currently based between Berlin and London.

Follow Andrew on Twitter or Connect on LinkedIn