Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

File Sharing Not Working Though VPN That Is Connected  (2x Win XP Pro)

Posted on 2006-06-13
8
Medium Priority
?
306 Views
Last Modified: 2010-04-12
Ok here's what we've got goin on.  Me and My Friend have set up a VPN between our 2 computers for the purpose of sharing files were are working on together. The VPN connects shows he is connected and on his end it says its connected.  But if i go to My Network Places it doesn't show anything about him and if i click on view workgroup computers it doesn't show him either.And Vice versa (He doesn't see me). So i was thinking it just wasn't working till we played a game and used that LAN function of the game not the Online function and it put us in together no problem (It Listed the IP of the VPN not of my router or my internet IP) so i guess thats a good sign.  I just need to know what exactly to do to get us to be able to share Files and Folders as if we were on the same router. Both PCs are using Win xp Pro. File sharing is turned on, on both machines, no firewalls on either machines, they are both on MSHOME group, we even tried turning off all norton antivirus functions (anti virus, Worm protection) so nothing should be blocking any connection. Thanks for taking the time to help me out

Steve
0
Comment
Question by:billetwound
[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
  • 4
  • 4
8 Comments
 
LVL 77

Expert Comment

by:Rob Williams
ID: 16899342
Your problem is likely NetBIOS names  (computer names) are not broadcast over most VPN's.
There are numerous ways to resolve this but assuming you do not have your own DNS or WINS server the following 2 options are likely your best bet:
1) Use the IP address (of the computer you are connecting to) when connecting to devices such as;   \\123.123.123.123\ShareName   or map a drive at a  command prompt using  
 Net  Use  U:  \\123.123.123.123\ShareName
2) An other option is to 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
 

Author Comment

by:billetwound
ID: 16899383
Okay i read about that before but all the descriptons are rather vague do you use The actual internet IP address, or the one that the VPN connection says they are ( they are completly 2 different numbers) i tried to do that with both numbers but nothing showed up still
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 16899399
Use the actual IP address of the computer you are connecting to.
One problem you can run into is the two networks should use different subnets. For example if you are using 192.168.1.x then the friend should use something like 192.168.2.x. The VPN will look after the fact that the two are on different subnets. It is required for routing, so you may have to change the router's DHCP and LAN configurations. Once done though, if your friend's PC has an IP of 192.168.2.101 then that is the IP you want to connect to, not the WAN/public IP.
0
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.

 

Author Comment

by:billetwound
ID: 16908287
Ok so we tried that and still nothing.  added the line "192.168.0.6  (<--- His numbers)  timpc   #PRE" to the LMHOSTS file (without the .sam)  and added "192.168.2.100 (<--My Numbers)  billetwoundstwr  #PRE"  to his file and still we aren't getting anything.  Since that didn't work i also tryed replacing the numbers with the Internet IP's on both of them and got nothing, and then tried the VPN's IP numbers and didn't get anything.
0
 

Author Comment

by:billetwound
ID: 16908464
And now i went back and looked at the vpn connection and its listing Server ip as 192.168.2.102 and Client IP as 192.168.2.103, and before it wasn't listing them on my routers setting but like 192.254.8.84.  so i tried typing in \\192.168.2.103 in Start/Run and it said "Network Path Not Found".  So as Vice Versa I had him type in \\192.168.2.102 and it actually popped up and showed all my shared files.  But when he went to open up one to look deeper in the directory it said "Network Path Not Found" and now it doesn't let him see what he saw the first time.  If i type in either 192.168.2.100 or 192.168.2.102 it shows me all my files and if he types in 192.168.0.6 or 192.168.2.103 it shows him all his stuff but we can't see each others. We went through all extremes to make sure nothing was blocking us out.  Both pc's are exposed to the net (DMZ), all windows/third party firewalls are deactivated, and no antivirus/spam/adware/worm protection are running.
0
 
LVL 77

Accepted Solution

by:
Rob Williams earned 2000 total points
ID: 16908566
Maybe should start with basics.
-Is the VPN created with the built in Windows VPN?
-Based on last post subnet at one site is 192.168.2.x and the other is 192.168.8.x, correct ?
-Can you ping the LAN IP (not public/WAN)of the remote router?
-Can you ping a PC on the remote network
-From the PC creating the VPN on each site, go to  http://www.canyouseeme.org and test for port 1723 to verify it is open.

0
 

Author Comment

by:billetwound
ID: 16924658
Ok we've got it, we opened the wrong port on the client computer.  We opened 1732 instead of 1723.  They still didn't show up into my network places or the workgroup but we were able to just go to start/run and type the ip's (the VPN's ips) and it popped right up no hesitation. Thank you for your help RobWill.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 16924693
Ah, that is easy enough to do by mistake. Glad you were able to resolve.
Using IP works well and is common but if you want to work with names try the LMHosts file as suggested above.
Thanks billetwound,
--Rob
0

Featured Post

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

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

Sometimes, you want your microsoft VPN to route all the traffic to the remote network. Usually your employer network. This makes it possible to access all the nodes inside this remote LAN, even if they have no "public DNS" entries. To do so, you wo…
If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

609 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