This works great for Ubuntu 18.04 LTS as well.
#15 from @PigMan can be changed to "aes128-sha1" instead of using 3DES. Phase1 has to stay 3DES.
Quick instructions from me :
1. Update and clean up the machine first
sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot
# Wait for reboot, log back in
sudo apt autoremove
2. Install VPN Software
sudo apt-get install strongswan xl2tpd net-tools
sudo apt-get install network-manager-l2tp network-manager-l2tp-gnome
sudo apt-get install network-manager-strongswan
sudo reboot
3. After reboot, Turn off the L2TP Server, we only want the client
sudo service xl2tpd stop
sudo systemctl disable xl2tpd
4. Setup the VPN per @PigMan's instructions:
- Settings -> Network -> VPN - > "+"
- Details:
- Make available to other users, check (if desired)
- Identity:
- Name: Make a description
- Gateway: the IP address (or dyn dns name from the meraki page)
- User Name: full@name.com
- Password: Leave blank, will prompt
- NT Domain: <blank>
- IPSec Settings:
- Enable IpSec tunnel to L2TP host: check
- Pre-Shared Key: Get from the meraki setup page
- Phase1 Algorithms: 3des-sha1-modp1024
- Phase2 Algorithms: aes128-sha1
- Enforce UDP encap: <un checked>
- PPP Settings: Default