Techware Labs Header

Forums have moved

See this announcement for more details, or just go directly there.


Go Back   Techwarelabs Community > Tech > Networking

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-12-2002, 05:29 AM
geekomatic2000
 
Posts: n/a
Default Help - vnc routing error through firewall

Hi All - newbie question

I'm trying to vnc into a win2k box behind a masquerading firewall/router - a snapgear lite (embedded linux device) which I've set up for a small client business. Latest VNC.



The following incoming ports are blocked:

20, 21, 69, 137, 139, 194, 546 currently and the server's patched up to the max running AV stuff and has languard's file integrity checker running on it as well as a couple of other bits of security software. I'm going to setup a deny all/allow some policy tommorow but that's irrelevant.

No outgoing ports are blocked.

I can hit into and configure the firewall's web interface from outside. Let's say its external address is 10.10.10.6 It supports port forwarding. The internal machines are using private addressing - the target server is 192.168.0.1 I've set up an incoming forward of 10.10.10.6:5800 to 192.168.0.1:5800
and the same for 5900

I enter http://10.10.10.6:5800 and get a VNC authentication dialogue box. Enter the password I set in their and eventually get:

Network Error: no route to server 10.10.10.6 So I'm guessing the problem is outgoing.

The win2k server is on SP2 + various security patches


The routing table on the snapgear router/firewall has the following entry for their network:


Destination Gateway Genmask Metric Interface
192.168.0.1 0.0.0.0 255.255.255.0 0 eth0

Now intuitively I would expect the gateway to be set to 192.168.0.254 which it is on the win2k server.

I've also tried the vnc client and got "failed to connect to server".

Help!!
Reply With Quote
  #2  
Old 12-17-2002, 12:43 AM
Omega Omega is offline
Administrator
 
Join Date: Nov 2001
Location: Minneapolis, MN, USA
Posts: 957
Send a message via ICQ to Omega Send a message via AIM to Omega Send a message via MSN to Omega Send a message via Yahoo to Omega
Default

I think the gateway address is fine blank, because it's using itself as a gateway. It would seem that the Win2k box should have its gateway set as 192.168.0.1, though, rather than 192.168.0.254.

Just out of curiosity, what distribution/version of VNC are you using?
Reply With Quote
  #3  
Old 07-21-2003, 02:26 AM
niru
 
Posts: n/a
Default No route to Host xx.xx.xx.xx

Hi there,

I also get the same error like No route to host xx.xx.xx.xx when i use java viewer from browser...

Can anyone help me..

Regards,
Niranjan
Reply With Quote
  #4  
Old 07-23-2003, 01:56 AM
Keefe Keefe is offline
Administrator
 
Join Date: May 2002
Location: Wisconsin
Posts: 2,337
Send a message via ICQ to Keefe Send a message via AIM to Keefe Send a message via MSN to Keefe Send a message via Yahoo to Keefe
Default

Some versions of VNC use different ports for different things within the program. In order to get mine working I had to forward 5800-5999 to the machine I wanted to run VNC on.

Hope that works!
__________________
It's crazy I'm thinking, just knowing that the world is round.
-http://www.techwarepc.com/ - The Technology Experts
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:33 AM. Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Forum style by ForumMonkeys.