A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

Cannot resolve host names over VPN



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 13th 09, 09:58 AM posted to microsoft.public.windows.vista.networking_sharing
trm96[_2_]
external usenet poster
 
Posts: 1
Default 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.


--
trm96
------------------------------------------------------------------------
trm96's Profile: http://forums.techarena.in/members/trm96.htm
View this thread: http://forums.techarena.in/windows-v...rk/1139821.htm

http://forums.techarena.in

  #2 (permalink)  
Old March 14th 09, 08:37 PM posted to microsoft.public.windows.vista.networking_sharing
Frankster
external usenet poster
 
Posts: 444
Default Cannot resolve host names over VPN


"trm96" wrote in message
...

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.


--
trm96
------------------------------------------------------------------------
trm96's Profile: http://forums.techarena.in/members/trm96.htm
View this thread:
http://forums.techarena.in/windows-v...rk/1139821.htm

http://forums.techarena.in


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.

-Frank

  #3 (permalink)  
Old March 15th 09, 03:38 AM posted to microsoft.public.windows.vista.networking_sharing
trm96[_3_]
external usenet poster
 
Posts: 1
Default Cannot resolve host names over VPN


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?


--
trm96
------------------------------------------------------------------------
trm96's Profile: http://forums.techarena.in/members/trm96.htm
View this thread: http://forums.techarena.in/windows-v...rk/1139821.htm

http://forums.techarena.in

  #4 (permalink)  
Old March 16th 09, 10:58 PM posted to microsoft.public.windows.vista.networking_sharing
Frankster
external usenet poster
 
Posts: 444
Default Cannot resolve host names over VPN


"trm96" wrote in message
...

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?


--
trm96
------------------------------------------------------------------------
trm96's Profile: http://forums.techarena.in/members/trm96.htm
View this thread:
http://forums.techarena.in/windows-v...rk/1139821.htm

http://forums.techarena.in


Yep, that's the one.

-Frank

  #5 (permalink)  
Old March 16th 09, 11:28 PM posted to microsoft.public.windows.vista.networking_sharing
trm96[_4_]
external usenet poster
 
Posts: 1
Default Cannot resolve host names over VPN


Ok, thank you Frank! I'll report back to say if it worked...


--
trm96
------------------------------------------------------------------------
trm96's Profile: http://forums.techarena.in/members/trm96.htm
View this thread: http://forums.techarena.in/windows-v...rk/1139821.htm

http://forums.techarena.in

  #6 (permalink)  
Old March 17th 09, 04:36 AM posted to microsoft.public.windows.vista.networking_sharing
trm96[_5_]
external usenet poster
 
Posts: 1
Default Cannot resolve host names over VPN


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...


--
trm96
------------------------------------------------------------------------
trm96's Profile: http://forums.techarena.in/members/trm96.htm
View this thread: http://forums.techarena.in/windows-v...rk/1139821.htm

http://forums.techarena.in

  #7 (permalink)  
Old March 17th 09, 11:55 AM posted to microsoft.public.windows.vista.networking_sharing
Frankster
external usenet poster
 
Posts: 444
Default Cannot resolve host names over VPN

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 Ubantu...

-Frank

"trm96" wrote in message
...

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...


--
trm96
------------------------------------------------------------------------
trm96's Profile: http://forums.techarena.in/members/trm96.htm
View this thread:
http://forums.techarena.in/windows-v...rk/1139821.htm

http://forums.techarena.in


  #8 (permalink)  
Old March 17th 09, 02:17 PM posted to microsoft.public.windows.vista.networking_sharing
trm96[_6_]
external usenet poster
 
Posts: 1
Default 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


--
trm96
------------------------------------------------------------------------
trm96's Profile: http://forums.techarena.in/members/trm96.htm
View this thread: http://forums.techarena.in/windows-v...rk/1139821.htm

http://forums.techarena.in

  #9 (permalink)  
Old March 17th 09, 08:40 PM posted to microsoft.public.windows.vista.networking_sharing
Frankster
external usenet poster
 
Posts: 444
Default Cannot resolve host names over VPN


"trm96" wrote in message
...

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


--
trm96
------------------------------------------------------------------------
trm96's Profile: http://forums.techarena.in/members/trm96.htm
View this thread:
http://forums.techarena.in/windows-v...rk/1139821.htm

http://forums.techarena.in


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.

-Frank

  #10 (permalink)  
Old March 25th 09, 10:39 PM posted to microsoft.public.windows.vista.networking_sharing
trm96[_7_]
external usenet poster
 
Posts: 1
Default Cannot resolve host names over VPN


I still get the same error as before even using the WAN IP for the VPN
server...


--
trm96
------------------------------------------------------------------------
trm96's Profile: http://forums.techarena.in/members/81922.htm
View this thread: http://forums.techarena.in/windows-v...rk/1139821.htm

http://forums.techarena.in

 




Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:05 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.