Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    SSH port forwarding

    I have 2 computers running Debian linux. I'm trying to set up ssh port forwarding so that I didn't have to run firefox over X because it is so damn slow. I am able to connect with ssh to the server which is running Tomcat. At the server I can run firefox and browse http://localhost:8080 correctly. How is it possible that when I do port forwarding, my client computer starts to load the page but it never finds it? Finally it times out.

    debby ~ 20 % ssh hozec@ -L 8081:
    Linux machi 2.4.27-2-686 #1 Wed Aug 17 10:34:09 UTC 2005 i686 GNU/Linux

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.

    Last login: Mon Aug 14 16:20:51 2006 from
    hozec@machi:~$ channel 3: open failed: connect failed: Connection timed out


    Thanks already.

  2. #2
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Maryland, USA
    Don't know a direct answer to your question, but I do the same task with OpenVPN, which debian also has as a package. It uses the SSL library the same as SSH.

    I have one local network at work and a different local network at home and I route packets between them through the tun0 device, which is an encrypted path between systems.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts