Berkeley CSUA MOTD:Entry 43544
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/23 [General] UID:1000 Activity:popular
5/23    

2006/6/30-7/5 [Computer/SW/Security, Computer/SW/Mail] UID:43544 Activity:nil
6/30    I'm trying to set up SSH port forwarding of VNC between my laptop and
        my home server.  Once I had it working but I lost be client-side
        config.  I can use PuTTY to set up port forwarding and can successfully
        load webpages off the remote server by using <DEAD>localhost<DEAD>
        My problem is that I can't seem to forward port 5900 (VNC) to my
        remote machine.  When I try telnetting to localhost port 5900 I get
        a connection but don't get the standard VNC handshake: "RFB 003.003"
        I know VNC is up on that machine because I can connect to it just fine
        when I am on the same subnet.  Any ideas?
        \_ You're not running VNC on your local box on port 5900, are you?
           \_ Ooh, good idea.. but no.
        \_ OK, so in PuTTY, your Forwarded ports: lines for your server Session
           look like:
           L80 localhost:80
           L5900 localhost:5900
           Is that right?  What OS is the server?
           \_ I had this:
              L80 http://myhost.com:80
              L5900 http://myhost.com:5900
              I changed the second one to
              L5900 locahlost:5900 and now it works.  Thanks!
              But why did the HTTP forwarding work then?
              \_ Maybe your firewall/VNC server/whatever would allow loopback
                 connections, but not connections on the "real" IP
Cache (80 bytes)
myhost.com
myHost Internet Services is now a member of you will be redirected in 10 seconds