Hello,

   I have Win2K machine at home I want to access from work. The machine is on an ADSL 
connection behind Linux/iptables-based firewall (under my control). I have open few 
ports to the Internet from my work, I chose tcp/21 (ftp). My idea is to forward port 
21 on firewall to 5900 on the Win2K VNC server box. That should be piece of cake with 
DNAT:

iptables -t nat -A PREROUTING -p tcp --dport 21 -j DNAT --to-destination 
192.168.0.1:5900

   Quick check with telnet:

ld01ad06:~$ telnet voyager.lupomesky.cz 21
Trying 194.149.109.187...
Connected to 194.149.109.187.adsl.nextra.cz.
Escape character is '^]'.
RFB 003.008

   Fine, everything is OK, NAT and forwarding works.
   I start RealVNC viewer app and give it "voyager.lupomesky.cz::21" as destination. 
It connects (the "Attempting to connect" window disappears), but nothing else happens. 
The connection is established, but VNCviewer just hangs.
   I checked the traffic with tcpdump to ensure NAT and forwarding works -- yes, it 
does. I tried to connect to VNC server locally, it works as well.
   So what else can be wrong? Please don't write me about how it's insecure to open 
VNC port to outside etc., I know what I'm doing.

   Bye Borek
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to