cancel
Showing results for 
Search instead for 
Did you mean: 

VPN client for Ubuntu 16.04

New here

VPN client for Ubuntu 16.04

Hi Guys 

 

 

Does anyone have an installation guide for Ubuntu 16.04 that I can send my users to self-installations? 

 

On the official guide is Ubuntu 12

 

 

Thnk you !!!

Tags (4)
10 REPLIES
Kind of a big deal

Re: VPN client for Ubuntu 16.04

I have not tested it, but this guide looks promising.

 

http://www.jasonernst.com/2016/06/21/l2tp-ipsec-vpn-on-ubuntu-16-04/

Kind of a big deal

Re: VPN client for Ubuntu 16.04

Highlighted
New here

Re: VPN client for Ubuntu 16.04

I did this and it works for me:

 

  1. Install network-manager-l2tp:  sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp and sudo apt-get update sudo apt-get install network-manager-l2tp
  2. If using gnome, install the gnome plugin (if using another desktop environment, see if there's a plugin for its network manager): sudo apt-get install network-manager-l2tp-gnome
  3. Reboot
  4. Navigate to Settings > Network > Click the +button > Select "Layer 2 Tunneling Protocol (L2TP)"
  5. Name the new VPN connection something
  6. Put the host name or address in the Gateway field.
  7. Put username in the Username field.
  8. Click the icon in the Password field and select your preference for how to supply the password.
  9. Click IPSec Settings...
  10. Click the box for "Enable IPsec tunnel to L2TP host"
  11. Enter the shared secret into the Pre-shared key field.
  12. Leave the Gateway ID field empty.
  13. Expand the Advanced options area
  14. Enter "3des-sha1-modp1024" into the Phase 1 Algorithms box.
  15. Enter "3des-sha1" into the Phase 2 Algorithms box.
  16. Leave the box checked for "Enforce UDP encapsulation".
  17. Click OK.
  18. Click Save.
  19. Open a terminal and enter the following commands to permanently disable the xl2tpdservice:  sudo service xl2tpd stop
  20. Also enter the following:  sudo systemctl disable xl2tpd
  21. Open Network Settings and try to turn the VPN on.
Kind of a big deal

Re: VPN client for Ubuntu 16.04

No one should be using 3des for anything new.  Does aes128 work instead?

Conversationalist

Re: VPN client for Ubuntu 16.04

it worked for Ubuntu 18.04!
New here

Re: VPN client for Ubuntu 16.04

Hi, can u give me details? Tks. I cant do it on 18.04

Conversationalist

Re: VPN client for Ubuntu 16.04

Hello @JUANFER, I just followed the instructions of @PigMan, nothing more.
New here

Re: VPN client for Ubuntu 16.04

haven´t rebooted, i´ll try again.
New here

Re: VPN client for Ubuntu 16.04

Excuse me but im new with ubuntu... are this two lines or just 1?

sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp

or it is;
sudo add-apt-repository ppa:nm-l2tp
sudo add-apt-repository network-manager-l2tp
Conversationalist

Re: VPN client for Ubuntu 16.04

it's one line.