> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Terence Van Hise
> Hmm...must be doing something wrong. I have TightVNC
> installed on a windows
> machine, ip 192.168.1.102. I have OpenSSH running on linux
> machine, ip
> 192.168.1.75. I have putty set up under Connection->SSH->Tunnels with
> source port of 5901 and destination of "192.168.1.75:5900". I connect
> through putty, password authenticate, and get a bash shell
> just fine. I
> then try to scan port 5901 on the machine running putty, but get no
> response....the port appears to be closed.
Do you have a VNC server running on display :0 of the Linux machine? If so
this is unusual. If not you need to change your port number to the correct
display. For example the first vncserver on Linux usually runs at display
:1, so you would need a source port of 5901 and a destination of
"192.168.1.75:5901". You would then try to connect by running the vncviewer
(on the machine with PuTTY) and connect to "localhost:1".
How did you run the port scan? By default PuTTY will only accept
connections from localhost for the forwarded ports.
> What's going on? Could this have something to do with the
> fact that I'm
> running ipchains on the linux machine? Again, I'm a newbie
> to linux, but
> I'm pretty sure that all my outgoing ports are open (":output
> ACCEPT" at top
> of ipchains). I also tried adding this line to ipchains, to no avail:
>
> "-A input -s 0/0 -d 192.168.1.0/24 5900:5900 -p TCP -y -j ACCEPT"
>
> So what am I missing?
> Thanks a million!
>
> -Terence Van Hise
Using SSH, all communication goes over the SSH port, so having port 5900
open to 192.168.1.0/24 on your Linux machine doesn't matter. As long as you
can talk to the SSH server, and you don't have any ipchains blocking the
localhost access to your VNC server, you should be OK.
--
William Hooper
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list