Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent (https://support.microsoft.com/en-us/help/926179/how-to-configure-an-l2tp-ipsec-server-behind-a-nat-t-device-in-windows)
Add-VpnConnectionRoute -ConnectionName "vpn-ra-oci" -DestinationPrefix 192.168.12.0/24 Set-VpnConnection -Name "vpn-ra-oci" -SplitTunneling $True |
ConnectionName is the name that you setup for the VPN and the DestinationPrefix is the ip address space from the VCN.
Next, navigate to the VPN connection and click on "Connect":
On the VPN-RA server i captured the packets during the connection. You can clearly see the Phase1 packets and the Phase2 and after that the ESP packets:
I demonstrated the successful connection from a Windows 10 laptop to the Remote Access VPN in OCI.
Previous Post
Next Post