Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Windows Vista Network
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , , , ,

Sponsored Links



Cannot resolve host names over VPN

Windows Vista Network


Reply
 
Thread Tools Search this Thread
  #1  
Old 13-03-2009
Member
 
Join Date: Mar 2009
Posts: 4
Cannot resolve host names over VPN

I have set up a VPN server on my desktop computer. The primary reason for setting up this VPN is to be able to access my home network shares, networked printers, VNC, as well as web pages not accessible to the internet on my laptop while away from home. While testing out my VPN at a friends house I found that I cannot access my network shares, etc by their host name, but am able to access some things but only by using the local IP address of the computer in my home network.

The setup:
VPN Server: Windows Vista Ultimate (x64 SP1)
VPN Client: Windows Vista Home Premium (x64 SP1)

I know I am lousy at explaining things if there is any more info needed let me know. Please note that I'm not a network admin by trade so please keep that in mind with any responses.
Reply With Quote
  #2  
Old 15-03-2009
Frankster
 
Posts: n/a
Re: Cannot resolve host names over VPN

1) Make sure you have configured your VPN to use/assign your internal name
server to the VPN clients (specifically NOT the name servers the ISP gave
you). If you don not have an internal name server, go to step 2.

2) Make sure you have placed a host file on the remote VPN computers with
the local/private hostname/IP address for your internal PCs.
Reply With Quote
  #3  
Old 15-03-2009
Member
 
Join Date: Mar 2009
Posts: 4
Thanks for the reply Frank. As I said I'm not a net admin, I assume you are talking about the host file located at "%windir%\System32\drivers\etc\hosts" Am I correct?

Yep, that's the one.
I'll report back to say if it worked...

In order to use shares via name resolution on the VPN server itself, if your
VPN server has a public static IP, you'll need to include that public IP in
the remote hosts file.

Don't know about Ubuntu...for the VPN server...
Reply With Quote
  #4  
Old 17-03-2009
Member
 
Join Date: Mar 2009
Posts: 4
Ok, I was able to through the vpn connect to 2 of my network shares (a vista box and a Mac) but I was unable to connect to 2 others (a vista box [witch also is the vpn server] and a Linux box [Ubuntu Hardy]). I get an error saying something about duplicate host name or something (should have taken a screenshot). BTW I also have 2 network printers witch I did not try to access...

To reach the VPN machine from the Internet you'll need to use the public IP
(WAN IP). Inside your network the same should work since the inside machines
should also be able to reach it with the hosts file containing the public
IP.

I was able to connect to my network shares using my desktops other NIC's IP...
Reply With Quote
  #5  
Old 17-03-2009
Member
 
Join Date: Mar 2009
Posts: 4
Re: Cannot resolve host names over VPN

So I have to put in the WAN IP for the VPN server itself?

Heres what my Hosts file looks like:

192.168.1.8 VISTA-SLI2
192.168.1.7 TRM96-DESKTOP2
192.168.1.6 UBUNTU-LAPTOP
192.168.1.4 PULCINI-GJRWN9D
192.168.1.2 MAC001451174E04

Should I add this line? *being my WAN IP
*.*.*.89 VISTA-SLI2

I have 2 NICs on the machine VISTA-SLI2 What If I use the other NIC's IP (192.168.1.5) will that work? As for my Ubuntu box I don't care I can access the files on there I can access them via FTP. I sure wish there was a way to test this from home...

Last edited by trm96 : 17-03-2009 at 10:01 PM. Reason: Add info
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Windows Vista Network


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Cannot resolve host names over VPN"
Thread Thread Starter Forum Replies Last Post
Server DNS host names keep deleting, what could be the reason? Gonzo Active Directory 4 27-08-2009 03:26 PM
NSLookup can resolve domain names, Ping can not resolve. Can ping IP finnce Networking & Security 3 05-02-2009 02:27 PM
Can't resolve names via SBS 2003 DNS when entering network from CiscoVPN Concentrator licensetokill007 Small Business Server 11 05-11-2008 02:30 PM
Unable to resolve external domain names to IP addresses, Vista, WS Rad Windows Server Help 3 23-10-2008 08:22 AM
Active Directory could not resolve DNS host name Mansoor Active Directory 7 12-07-2007 03:40 PM


All times are GMT +5.5. The time now is 09:50 AM.