1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New to SSH

Discussion in 'Tomato Firmware' started by breugel, Dec 22, 2008.

  1. breugel

    breugel Addicted to LI Member

    I have putty set up and I can create a connection fine. I can VNC to the 4 computers at home. What i would like to be able to do is set up a tunnel so that I can log on to the router directly to administer it. I am using Tomato firmware.

    Thanks
     
  2. ifican

    ifican Network Guru Member

    You do not state what device you have so, if you can vpn to the router you can manage it from the internal ip.

    or

    you can access from 1 of the vnc machines

    or

    you can setup remote management and get to it via the wan link, and in some cases ssh to it via wan as well.
     
  3. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    There are two ways this can easily be done:

    1. In the PuTTY configuration->Connection->SSH->Tunnels section, add a "Local" tunnel with source port whatever you want (80 if it isn't taken might be convenient), and in the destination box put 192.168.1.1:80 (replace with the LAN ip of the router, but leave the 80 as is even if you pick a different source port).
      • Now with SSH connected, you can open a browser and point your browser to http://localhost (append a ":<port>" if you didn't pick port 80 above)
    2. Also in the Tunnels section, add a "Dynamic" tunnel with source port whatever you want and leave the destination box empty.
      • Now with SSH connected, you can set up your browser to use http://localhost:<port> as a SOCKS proxy. This will have all of your web traffic go through the SSH tunnel and behave as if you were browsing on the router itself (eg, to get to the router admin page you would browse to http://192.168.1.1). This is also useful to get around filtering proxies.
     
  4. breugel

    breugel Addicted to LI Member

    thanks... That did it. I forgot to use localhost..
     

Share This Page