-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06/10/2010 11:05, Chris G wrote:
I'm currently away from home and I'm trying to get a GUI application running on a machine at home with the display here in N. Wales. Can anyone suggest alternative ways of achieving my goal? The *real* aim is to allow me to get at my router configuration from here in Wales so I can change it to allow direct ssh access from this IP address. The router's web configuration uses so much bad/arcane javascript that you can't access it using lynx/links/w3m and the telnet access to its configuration is far too difficult to attempt to use remotely, the chances of screwing it up so that access is completely denied are very high.
If it is a standard web application, and it's on a known port, you can set up an ssh tunnel to your home machine and then connect to a local port which is mapped to the remote port of some remote service - e.g.:
ssh -L localport:your_router_ip_address:router_port user@your_ssh_host
ssh -L 8081:10.1.1.254:80 me@myhomeserver.co.uk
then point your local browser to "localhost:8081", which is tunneled over ssh to your home server and pops out and points to 10.1.1.254:80 on your home network. If the remote host you are ssh-ing to is the same as the host containing the webapp you're talking to, the remotehost can obviously be just 127.0.0.1.
I use this sometimes to configure a Netgear router (at home) from work.
Hth, Simon
- -- ====================================================================== Simon Ransome http://nosher.net Photo RSS Feed: http://nosher.net/images/images.rss