Getting SMB file shares working over a PPTP VPN
- by Ben Scott
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.