How to Setup L2TP on Xubuntu 19.10

Mar 02, 2021
May 06, 2021
0 Comments
Download PDF

If you are looking to set up PureVPN on Xubuntu 19.10 using the L2TP protocol, you can do so in a few steps by checking out the following guide:

Things to Consider:

Before you begin, please make sure that:

  • You have a working internet connection
  • Linux Xubuntu (This guide uses Linux Xubuntu 19.10 64-bit)
  • A Premium PureVPN account (if you haven’t bought it yet, click here to buy)
1 Go to the “Launcher option and select/open the “Terminal Emulator” from there.

Launch Terminal
2 Now you need to install L2TP packages. Type the following commands one by one:

sudo apt-get update

sudo apt-get install xl2tpd

sudo apt-get install network-manager-l2tp-gnome

sudo apt-get install network-manager-l2tp

3 Click on “Network” option and then select “Edit Connections…” option.

4 Click on the ‘+’ icon to add a VPN connection and select ‘Layer 2 Tunneling Protocol (L2TP)’ from the drop-down list and click on the “Create” button.

5 Insert the following info:

  • Insert Connection name: PureVPN
  • Insert Gateway: usca.pointtoserver.com (Here we use usca.pointtoserver.com you can also use your desired server address, check this link for more server addresses)
  • Insert Username and Password provided by PureVPN (For further instructions on how to check your active PureVPN username and password click here.)
6 Now, Go to IPsec settings options

  • Check the ‘Enable IPsec tunnel to IPsec host’
  • Pre-share key: 12345678
  • Then specify connection algorithms in the Advanced section:
  • For phase 1= 3des-sha1-modp1024  and
  • For phase 2 = 3des-sha1
  • Enforce UDP Encapsulation: Unchecked
  • Click ‘OK’
IPsec settings
7 Go to PPP settings options

Only allow the following options:

  • MSCHAP
  • MSCHAP2

Also, select the following:

  • Allow BSD data compression
  • Allow Deflate data compression
  • Use TCP header compression

Click on “OK”

PPP Settings
8  Click on “Save” and close the “Network Connections” window.

9 Now Click on the Network” Icon, go to the “VPN Connections” tab and click on the newly created VPN connection, to connect to PureVPN.

Go to VPN connections
9 You are connected to PureVPN now!

You are now connected

How helpful did you find this answer?

Comments (0 )