Skip to content

Instantly share code, notes, and snippets.

@henriquecarv
Created February 25, 2019 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henriquecarv/ef18175a61f21e39a9d15eff59ce0990 to your computer and use it in GitHub Desktop.
Save henriquecarv/ef18175a61f21e39a9d15eff59ce0990 to your computer and use it in GitHub Desktop.
VPN L2TP Connections
#!//bin/bash
# VPN L2TP Connections
sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp
sudo apt update
sudo apt install network-manager-l2tp
# Name the new VPN connection something
# Put the hostname 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment