Getting SMB file shares working over a PPTP VPN

Posted by Ben Scott on Super User See other posts from Super User or by Ben Scott
Published on 2011-06-28T08:06:45Z Indexed on 2011/06/28 8:24 UTC
Read the original article Hit count: 286

Filed under:
|
|
|

I'm having issues getting SMB file shares working over a PPTP VPN.

The server setup consists of a security device (DrayTek V3300) which passes the PPTP authentication to a SBS2003 server running RRAS. The server is the DC and provides DNS and WINS, the single NIC's name server is set to 127.0.0.1, and DHCP on the DrayTek sets the server IP as the DNS.

If I create a new VPN connection in Win7, leaving everything as default apart from the server, username, password and domain, I can:

  • ping everything by IP address
  • resolve IPs with nslookup using their fully-qualified name, as in nslookup fileserver.mydomain.local
  • ping machines by fully-qualified name, as in ping fileserver.mydomain.local

However if I try to access a file share:

  • within Explorer, I get "Windows cannot access ..." with "Error code: 0x80004005 Unspecified Error",
  • using net use z: \\fileserver.mydomain.local\share, I get "System error 53 has occurred. The network path was not found."

If I add the machine name to my HOSTS file I can use the file share, which is my last-ditch workaround, but I have a number of VPN users and would rather a solution that doesn't involve me trying to hand-edit system files on computers half a country away.

If I set the WINS server explicitly in the connection's IPv4 settings I don't have to use the FQN to ping the machine, but that doesn't change anything else.

© Super User or respective owner

Related posts about Windows

Related posts about vpn