Solved

How do I map a drive over a VPN connection

Posted on 2006-07-13
11
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
11 Comments
 
LVL 48

Accepted Solution

by:
Jay_Jay70 earned 125 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 77

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
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 
LVL 77

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 77

Assisted Solution

by:Rob Williams
Rob Williams earned 125 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 77

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 77

Expert Comment

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

726 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