Link to home
Create AccountLog in
Avatar of forzaaw
forzaawFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Cannot VNC onto Virtual Machine over VPN

I have a Windows 2003 standard R2 host server with a Windows XP guest VM. This VM does everything I need, and should I need to access it I use VNC, its setup so somebody else can VNC it also, but they do not have access to anything else.
The problem I am having is that when I dial into my network remotely, I cannot VNC the VM. When I try to ping it, I get the first response and the nothing after that.
The VMware host server is also the RAS server which controls remote VPN on its 2nd NIC.
The guest OS/VM is running on bridged networking, with a static IP address.
Any ideas on how I can get VNC to work with this whilst over remote connection would be appreciated.
Avatar of larstr
larstr
Flag of Norway image

2nd nic? Maybe you will need to enable routing (ip forwarding) on your host os (RRAS)?

check the firewall on the XP/VM is disabled or at least configured to allow VNC through (normally port 5900)
Avatar of forzaaw

ASKER

larsrt - The 2nd Nic is just for VPN clients to connect to.
mrroonie - The firewall service on the XP machine is disabled and I can connect to it when im on the LAN.
are you trying to connect VNC via hostname or ip address? are the 2 NIC's on a different subnet?
Avatar of forzaaw

ASKER

I have tried via host name and IP, same with my test ping. Both NIC are on the same subnet, 192.168.26.x
I can connect to all non VM computers fine, and I can RDP onto the host virtual server via internal and VPN connections.
what VNC are you using? have you tried any others? -
RealVNC - www.realvnc.com
TightVNC - http://www.tightvnc.com/
UltraVNC - www.uvnc.com
this may help - http://www.petri.co.il/virtual_using_vnc_and_vmware_server.htm

talks about editing the VM's VMX file halfway down, apparently this needs to be edited before VNC will work
Avatar of forzaaw

ASKER

Sorry may be i worded my question wrong initially. I have tried the VMX edit before coming here, but i guess its not VNC related due to the fact pinging it only generates 1 reply, then no response...
Does your host or guest have more than 1 def gw? Should have only 1.
SOLUTION
Avatar of Roshan Mohammed
Roshan Mohammed
Flag of New Zealand image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of forzaaw

ASKER

I will give these solutions a try and let you know the results, thanks.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.