Solved

Cannot VNC onto Virtual Machine over VPN

Posted on 2008-06-17
12
727 Views
Last Modified: 2013-11-30
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.
0
Comment
Question by:forzaaw
  • 5
  • 4
  • 2
  • +1
12 Comments
 
LVL 18

Expert Comment

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

0
 
LVL 13

Expert Comment

by:mrroonie
ID: 21801867
check the firewall on the XP/VM is disabled or at least configured to allow VNC through (normally port 5900)
0
 
LVL 1

Author Comment

by:forzaaw
ID: 21801895
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.
0
 
LVL 13

Expert Comment

by:mrroonie
ID: 21801921
are you trying to connect VNC via hostname or ip address? are the 2 NIC's on a different subnet?
0
 
LVL 1

Author Comment

by:forzaaw
ID: 21801947
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.
0
 
LVL 13

Expert Comment

by:mrroonie
ID: 21801969
what VNC are you using? have you tried any others? -
RealVNC - www.realvnc.com
TightVNC - http://www.tightvnc.com/
UltraVNC - www.uvnc.com
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 13

Expert Comment

by:mrroonie
ID: 21802017
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
0
 
LVL 1

Author Comment

by:forzaaw
ID: 21802275
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...
0
 
LVL 18

Expert Comment

by:larstr
ID: 21802795
Does your host or guest have more than 1 def gw? Should have only 1.
0
 
LVL 12

Assisted Solution

by:S00007359
S00007359 earned 500 total points
ID: 21872433
If you are using a standard MS VPN, then you have make sure that your VPN's default gateway is ticked off. to do so:
1) Disconnect from the vpn if you are.
2) Click on the VPN Properties, and select the networking tab
3) Select TCP/IP, and click on properties, then click on advanced.
4) Untick use the default gateway on remote network, click on all ok's.

Give that a try, i beleive that's whats happenning!
0
 
LVL 1

Author Comment

by:forzaaw
ID: 21897899
I will give these solutions a try and let you know the results, thanks.
0
 
LVL 1

Accepted Solution

by:
forzaaw earned 0 total points
ID: 22657650
Fixed this myself, network setup issue.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
L2TP/IPSec VPN Passthrough Cisco ASA 5505 8.2(5) to Server 2008 R2 4 53
DNS and NSLOOKUP 21 57
ESXi 6 ESXTOP %C0 and %C1 Stats 8 42
vmware 5.5 1 39
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now