If you set up a routed VPN, you must set up routing between the subnets so that packets will transit the VPN. Here is a possible network configuration.
Use Add-VpnConnectionRoute cmdlet in Windows 8+. This worked perfectly for me on Windows 10. To remove a route, you can use Remove-VpnConnectionRoute with the same syntax. There is no Get-VpnConnectionRoute sadly, but to view routes, you can do (Get-VPNCo
In the latest Windows 10 builds, you can automatically add static routes when establishing a VPN connection. When the VPN connection is terminated, the route is automatically removed from the…