Having SSH is totally great to administer your servers and such, but if you ever face a situation that absolutely requires a few clicks to be made on the GUI, then at best you are screwed. For the technically savvy this might not mean an obstacle at all – but for anyone else who does not dream in assembly and speak in pointers referring to pointers of a mirrored stack, this quick and dirty trick could sure come in handy – and might even save the day!
A totally lifelike situation: trying to manage the Wireless configuration page of your router, behind which sits your NAT’d server, as your only point of connection to the whole network…try navigating across that so-called router admin page (or just plain clicking to a submenu) with lynx or links. Pure form of punishment right here, ladies and gentlemen.
Prequisites: you must have an SSH and VNC server (vnc4server) up and running on your server to which you are about to connect to (we’ll be using the default ports throughout the steps)
- Download PuTTY and run it (from Debian/Ubuntu boxes, it’s in the repo)
- Session -> fill out the external IP and the forwarded SSH port
- Translation -> set it to UTF-8 (optional)
- SSH -> Auth -> Tunnels -> fill in as follows:
- Source port: 5901
- Destination: 192.168.1.3:5901 (the local LAN IP of the server)
- Hit the ADD button
- Connect and log in
- Start vncviewer and enter “localhost:5901“
This is a shortened, reblogged version of the Smoothwall tutorial – click here to view the original source!