Mike Gehl
1999-06-29 21:02:13 UTC
My setup...
|--> 192,168.1.2:0 vnc server
|
VNC Client <--> Linux Gateway <--|--> 192.168.1.3:0 vnc server
206.xxx.xxx.xxx |
192.168.1.1 |--> 192.168.1.4:0 vnc server
The VNC client enters 206.xxx.xxx.xxx:y to connect to a vnc server. I'm
trying to configure the gateway machine to redirect port (y) to a specific
local address.
206.xxx.xxx.xxx:0 -> 192.168.1.2:0
206.xxx.xxx.xxx:1 -> 192.168.1.3:0
206.xxx.xxx.xxx:2 -> 192.168.1.4:0
Currently I'm trying to redirect the packets with...
/etc/inetd.conf
5900 stream tcp nowait nobody /sbin/redir 192.168.1.2 5900
5901 stream tcp nowait nobody /sbin/redir 192.168.1.3 5900
5902 stream tcp nowait nobody /sbin/redir 192.168.1.4 5900
When doing this, the VNC client displays a protocol error. I assume my
inetd.conf entries are incorrect for the rfb protocol. Can anyone point me
in the right direction or suggest an alternative. Thanks.
-Mike Gehl
Cognition Inc.
---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
|--> 192,168.1.2:0 vnc server
|
VNC Client <--> Linux Gateway <--|--> 192.168.1.3:0 vnc server
206.xxx.xxx.xxx |
192.168.1.1 |--> 192.168.1.4:0 vnc server
The VNC client enters 206.xxx.xxx.xxx:y to connect to a vnc server. I'm
trying to configure the gateway machine to redirect port (y) to a specific
local address.
206.xxx.xxx.xxx:0 -> 192.168.1.2:0
206.xxx.xxx.xxx:1 -> 192.168.1.3:0
206.xxx.xxx.xxx:2 -> 192.168.1.4:0
Currently I'm trying to redirect the packets with...
/etc/inetd.conf
5900 stream tcp nowait nobody /sbin/redir 192.168.1.2 5900
5901 stream tcp nowait nobody /sbin/redir 192.168.1.3 5900
5902 stream tcp nowait nobody /sbin/redir 192.168.1.4 5900
When doing this, the VNC client displays a protocol error. I assume my
inetd.conf entries are incorrect for the rfb protocol. Can anyone point me
in the right direction or suggest an alternative. Thanks.
-Mike Gehl
Cognition Inc.
---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------