Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- SSH and Port Forwarding
January 6, 2005, 1:08 am
rate this thread
I can connect using "ssh -p 2345 Administrator@server" just fine. I also
have VNC running on this server at port 5900. I can configure port
forwarding by typing "ssh -p 2345 -L 1234:server:5900 Administrator@server"
and then connect to localhost::1234 on the client to establish a VNC
Now I assumed that the only port needing to be opened on my firewall would
be port 2345 but I'm finding that this doesn't work unless I also open port
5900. I'm guessing that's because the server is reconnecting to itself
across the Internet using port 5900. Is that correct? I was hoping I could
shut off all ports to my server with the exception of port 2345 (SSH) but by
the way port forwarding is implemented, that doesn't appear to be the case?
Re: SSH and Port Forwarding
I assume your firewall does not distinguish between locally-originated
and "remote" (real internet) traffic.
I guess you cannot connect to localhost::5900 on the server machine, can
And, by the way, did you set the client settings to connect to
Best regards, HTH
- Richard E. Silverman
January 6, 2005, 4:58 am
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum