An Engineers Notebook

Unable to enable/disable remote gateway on VPNs in Windows 10

If you are on Windows 10 and can’t change your “remote gateway”
setting for VPNs (As windows 10 ipv4 properties button does not work), Here is a workaround:

 

  1. Get-VpnConnection
  2. Set-VpnConnection
    -Name “myVPN” -SplitTunneling $True

You could do this for all VPN connection simoultaniously like this:

Get-VPNConnection | Set-VPNConnection -SplitTunneling $True

Leave a Reply

Your email address will not be published.