Page 1 of 1

L2TP Subnet Question

Posted: Wed Oct 28, 2015 12:12 am
by enkoopa
I've done a quick search but found only 1 post that was useful (and didn't work!)

I have an L2TP VPN, works great. I only want traffic to my private addresses (10.31.0.0/16) to go through the VPN.

I am using SecureNAT since the VPN is running on a virtual machine.

One post suggested removing the default gateway under the SecureNAT options - I did this, but then the VPN becomes totally non-functional. Once connected, I can't ping any IP at all.

Do I need to push a static routing table?

Re: L2TP Subnet Question

Posted: Wed Oct 28, 2015 7:37 pm
by enkoopa
Resolved the issue.

1) Pushed a static route for 10.39.0.0/255.255.0.0 through the local gateway.
2) Did not remove the default gateway from the VPN server settings.
3) Changed the VPN adapter settings in Windows 10 using Powershell due to a bug:

Set-VpnConnection -Name "VPN-NETWORK-NAME-HERE" -SplitTunneling $True