L2TP vpn with Debian


In order to create L2TP/IPsec VPN, use the following instructions:

Navigate to Settings > Network > Click the + button > Select “Layer 2 Tunneling Protocol (L2TP)”

Name the new VPN connection something

Put the host name or address in the Gateway field.

Put username in the Username field.

Click the icon in the Password field and select your preference for how to supply the password.

Click IPSec Settings…

Click the box for “Enable IPsec tunnel to L2TP host”

Enter the shared secret into the Pre-shared key field.

Leave the Gateway ID field empty.

Expand the Advanced options area

Enter “3des-sha1-modp1024” into the Phase 1 Algorithms box.

Enter “3des-sha1” into the Phase 2 Algorithms box.

Leave the box checked for “Enforce UDP encapsulation”.

Click OK.

Click Save.