?
Solved

How do I map a drive over a VPN connection

Posted on 2006-07-13
11
Medium Priority
?
238 Views
Last Modified: 2010-03-18
I have a successful VPN connection from my home (XP Home) to office no server just another XP pro computer on a LAN but when i try to map a shared drive on the office computer my computer tells me it cant find the network the workgroups are the same and all file sharing requirements are set in the Windows firewall etc.
From the same home based computer i can VPN to a friends system where a Windows 2003 server is the direct connection, I can also map this computers shared c drive using the Windows Map facility in explorer by \\computername\sharename
Why cant i do this when a successful VPN connection is made to my office to an XP pro workstation?
0
Comment
Question by:webbyflanagan
  • 5
  • 2
8 Comments
 
LVL 48

Accepted Solution

by:
Jay_Jay70 earned 500 total points
ID: 17104555
can you ping the destination machines? you may need to edit your lmhosts file if you can

use the LMHosts file which creates a table of IP's and computer names. LMHosts is located in the Windows directory under c:\Windows (or WINNT)\System32\Drivers\Etc\LMHosts.sam , instructions are included within the file. Any line starting with # is just a comment and is ignored. Open the file with Notepad and add entries for your computers as below;
192.168.0.101      CompName       #PRE
Hit enter when each line is complete (important), then save the file without a file extension. To be sure there is no extension ,when saving enclose in quotations like "LMHosts". Now when you try to connect to a computer name it should find it as it will search the LMHosts file for the record before connecting.
More details regarding LMHosts file:
http://www.microsoft.com/resources/documentation/Windows/2000/server/reskit/en-us/Default.asp?url=/resources/documentation/windows/2000/server/reskit/en-us/cnet/cnfd_lmh_QXQQ.asp
0
 
LVL 78

Expert Comment

by:Rob Williams
ID: 17104846
Nice quote James :-)

Assuming you have a successful VPN connection You can also simply use the IP address. At a command line enter:
net  use  z:\  \\<IP address>\<share name>
such as:
 net  use  z:  \\192.168.0.101\Share
if you wish to or need to include a password:
net  use  z:  \\192.168.0.101\Share   password   /User:username  
do not change "User" it is not a variable
0
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 17104849
ha! I may have poached that from some unknowing child genius   cough cough :)
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
LVL 78

Expert Comment

by:Rob Williams
ID: 17104891
:-) just sounded familiar :-)
Ah, feels special to be quoted !
0
 

Author Comment

by:webbyflanagan
ID: 17125525
problem resolved it was a clash of IP addresses issued by the routers at both ends of the VPN. Both routers were issuing ip addresses begining 192.168.1.10 to 192.168.1.254. Th e router at the client end was altered to issue ip addresses 192.168.99.10 to 192.168.99.254.
but the map function of Windows Explorer required the IP address of the host pc and the share name not the computer name and Share name
0
 
LVL 78

Assisted Solution

by:Rob Williams
Rob Williams earned 500 total points
ID: 17125687
Yes subnets at either end of VPN tunnel need to be different or you run into routing issues.

>>"but the map function of Windows Explorer required the IP address of the host pc and the share name not the computer name and Share name"
Using the LMHosts file as suggested above by Jay_Jay70 will allow you to use the computer name.
0
 
LVL 78

Expert Comment

by:Rob Williams
ID: 17351364
I would recommend at least a point split here. Though webbyflanagan, fixed the connection issue (duplicate subnets)  on his/her own, the answer to the actual question of mapping drives was dealt with by both RobWill and Jay_Jay70.
--Rob
0
 
LVL 78

Expert Comment

by:Rob Williams
ID: 17352770
No problem :-)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
Resolve DNS query failed errors for Exchange
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

850 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