Windows 10 VPN – Cannot Ping or Connect to Shared Folder

This will probably help with similar scenarios. This is the scenario. VPN host setup in Windows 10 professional through Network Connections > Create incoming connection. Static IP address and port forwarding and I connect to VPN beautifully. I can see that 1 user is connected to host but I cannot ping host IP address or see network from remote machine when connected to VPN. I start troubleshooting and changed a few things to see what gives. Then I start Googling for help. Ended up on a forum where it was suggested that the firewall on the host could be the problem. Turned off the firewall and problem solved but not really. What I really want to do is make an exception or add rules to the firewall (Windows built-in firewall btw). What I noticed is that I had no problem pinging the machine and accessing the shared folder when I was directly connected to the LAN so yes the firewall but how come? I eventually found out that the VPN connection was coming in under ‘RAS (Dial in) Interface’ and by default this was classified as a public network by the firewall.

windows-10-vpn-cannot-ping-or-connect-to-shared-folder-screen-1

I also found out that I could change this behavior through group policy. RAS stands for Remote Access Server by the way. Follow these steps as shown in screenshot.

[Windows key] + R
gpedit.msc
Computer Configuration > Windows Settings > Security Settings > Network List Manager Policies > RAS (Dial in) Interface > Location Type > Private

Windows 10 VPN - Cannot Ping or Connect to Shared Folder - Screen 2.png

It took me about two hours to get to this and hopefully this blog post saves someone the headache and troubles. Another by the way. One way you can keep using your internet connection while connected to the VPN is to uncheck ‘Use default gateway on remote network’ when setting up your VPN connection. Share your thoughts with us in the comments below.

Windows 10 VPN - Cannot Ping or Connect to Shared Folder - Screen 3.png

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s