Cannot connect to local sql server while connected to a vpn and split tunnel is enabled

I’m trying to connect to my local sql server while vpn is connected but it throws an error saying ‘The target principal name is incorrect. Cannot generate SSPI context. (.Net SqlClient Data Provider)’. Split tunneling is enabled but it does not resolve the issue. If I disconnect from the vpn I can connect to the local sql server just fine. However, when split tunneling is enabled I can no longer remote desktop onto my vms on the vpn. What’s the issue and how can I fix it?

Answer

Attribution
Source : Link , Question Author : izuuriver , Answer Author : ApatheticSheep

Leave a Comment