PDA

View Full Version : vnc client probs with router


wyles
5th December 2002, 02:09 AM
I have set up vnc server and it works fine. If I use a dialup etc thru laptop it connects like a dream. However I am unable to connect thru my home network (cable modem thru netgear rp114 router). cant even ping the server!. have confirmed ip is correct and even tried setting up vnc ports on home (client) router.

if anyone has any ideas of why the problem should be on the connection at the client end I would be grateful.

Server - redhat 7.3, adsl through netgear RO 318
Clients - Win XP - 56k modem (works fine)
- Win XP - Cable through netgear RP114 (nothing)

Thanks in advance!

^7_of_9
5th December 2002, 02:34 AM
So you setup Port Forwarding on the Netgear router to go to the proper machine IP address?

Also if you want to ping make sure that the router doesn't toss aside pings w/o an answer. My D-Link DI704 has this option that ignores Pings and won't reply to a ping sent to it if I check the box off.

I currently use WinVNC myself through a router and have VNC'd from my Dad's house into my home machine w/o any probs.

wyles
5th December 2002, 02:52 AM
Yup!
the server side of things works fine. I can plug the laptop in and use a dialup up connection and it works great.....however if I plug the laptop into the home router it doesnt....

have set respond to ping on WAN to "yes"

^7_of_9
5th December 2002, 03:37 AM
Oh I see what you mean now.

So a connection from the outside works ok, but a connection when coming from inside the firewall doesn't work.

Using Windows on the Laptop?

If so doublecheck your Subnet mask and IP address.

If the VNC machine you wanna get at is 192.168.1.2 then make sure the laptop is getting a 192.168.1.* address as well.

With that series of IP's the Subnet mask should be 255.255.255.0

If your'e using the 10.10.0.1 series then make sure that the subnet mask it's getting is 255.0.0.0 also if your Dialing in and then connecting to the network w/o rebooting a Windows machine then I'd suggest clearing the network adaptor cache then as well.

wyles
5th December 2002, 03:58 AM
Thanks 7....never was good at explaining thing properly :D

the prob is connecting my home network to my office network. I just cant get out from home!

I know the vnc server side of things works, but the vnc client cant exit the home router.

Its driving me batty as I cant see why the router would block an outgoing connection....IP's are correct and it works if I go through dialup.

bit of a noob at this, so thanks very much for your patience and help thus far. :thumbsup:

^7_of_9
5th December 2002, 04:19 AM
Just to make sure I'm fully understanding.

When you use Dial-up connection what ISP do you use? You going through the companies dial-in connection for dial-up access?

I take it VNC is installed at work but when you dial-in to the work server you can VNC ok there. When you connect to the router at home it no longer lets you access the machine at work?


Am I right or totally off again?

If I'm right then it's the company firewall on their end. When you get into work change the incoming port to something that you can access from work. Such as 443 or something.

wyles
5th December 2002, 07:00 AM
Office network has VNC server installed and running fine. using any dial up account I can access it.

Problem occurs when I try to access it from home (the whole point of the exercise....so I can work from home coz thats just so much easier :) ). I cannot connect from home. I think the problem is with the RP114 router (the router at home) not allowing the connection.

I find heaps of help on the VNC site about problems at the server end, but nothing about vnc viewer. I'm assuming its the router blocking the connection....the adsl (office) and cable(home) are the same company.

Nanobot
5th December 2002, 08:44 AM
Has your router got an inbuilt firewall as this may be blocking the outgoing traffic

wyles
5th December 2002, 08:48 AM
I'm starting to think this may be the case....the RO318 has the capacity to allow additional services, which the rp114 doesnt....although vnc isnt listed in the blocked services its starting to look like its simply not allowed :(

first thing to do is try another router or hub I spose...

Thanks for you help in this one guys!

jema
5th December 2002, 09:17 AM
Have you ports 5900+N. set to forward to your machine on your router? where N is the display number?

jema

wyles
5th December 2002, 11:02 AM
yup - ports 5900-5903 forwarded to workstations IP.

not sure what you mean by "display number" however

Nanobot
5th December 2002, 11:30 AM
In the client when you specify the server it is in the format host:display (e.g. snoopy:2) the display number defaults to zero which equates to port 5900. If you specify display number 1 then port 5901 is used 2 is 5902 and so on.

You can also use the java interface (unless you have disabled it) which has a default port number of 5800 and does not require the client to be installed.

Ozzer
5th December 2002, 12:39 PM
Logs my friend Check your logs :)

Check them on the client machine and make sure you are not dropping packets somewhere also that you are not blocking the attempts from the server to connect to your client.

Check them on the server to make 100% sure its not something on the server. On the linux box check to see if your attempts to Ping the machine are being accepted by the linux box.

As you are using XP on the client also make sure you don't have the internal XP firewall on. Or if you do, that you have also permitted the appropriate ports access.

The RP114 can most definatly allow VNC access so it is not a problem with the hardware itself more likely a configuration error or an incorrect mapping.
Double check the port forwarding :D

Other than the above all I can suggest is you put on a guiness or two and I will pop over and have a looksee for you.

PS: Starship troopers was great on DVD. I will drop it back on the weekend if its OK.

wyles
5th December 2002, 01:37 PM
Originally posted by Ozzer
[B]
Check them on the server to make 100% sure its not something on the server. On the linux box check to see if your attempts to Ping the machine are being accepted by the linux box.

check...confirmed connection with two other sources recently. server side is fine.


As you are using XP on the client also make sure you don't have the internal XP firewall on. Or if you do, that you have also permitted the appropriate ports access.


check - I can get thru on the laptop with dialup, but when I plug it into the router no joy....no workstation on the home lan can get thru


The RP114 can most definatly allow VNC access so it is not a problem with the hardware itself more likely a configuration error or an incorrect mapping.
Double check the port forwarding :D

good to hear.....will try again (jeez I hope she's still online at the other end :redface: ;) )


Other than the above all I can suggest is you put on a guiness or two and I will pop over and have a looksee for you.

always a fridgeful....

wyles
5th December 2002, 02:45 PM
Its a cable problem...should have taken the router out of the equation first really.....
modem yes
direct to cable modem - no.

*sigh*

Thanks to all you fine people for your assistance in this matter.....

greatly appreciated....plenty of guinness for all!