If you've ever setup a Point 2 Site VPN (P2S) to Azure you've probably noticed although you can Ping or RDP to all your resources you are unable to connect to file shares. This is because by default the VPN config will pass the credentials for the VPN to the resource for login. And as these differ from the user credentials you won't have permission to access the share. This can be seen in the rasphone.pbk file created by the VPN connection created here:
"%userprofile%\AppData\Roaming\Microsoft\Network\Connections\Pbk\rasphone.pbk"
If we change the UseRasCredentials to = 0 it will stop passing the VPN credentials and prompt for Domain Credentials.
Comments
Post a Comment