The following is required for L2TP-VPN client to work on Linux Xubuntu:
- A working installation of Linux Xubuntu (This guide uses Linux Xubuntu 19.10 64-bit)
- A device with internet access.
- Own a premium PureVPN account (If you do not already own one, you can buy a subscription from here)
1 Go to the “Launcher” option and select/open the “Terminal Emulator” from there.

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 “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, click here to view the complete list)
- Insert Username provided by PureVPN
- Insert Password provided by PureVPN

6 Now, Go to the ‘IPsec Settings…’ option.
Check the ‘Enable Ipsec tunnel to IPsec host’
Pre-share key: 12345678
Then specify connection algorithms in Advanced section:
For phase 1= 3des-sha1-modp1024 and
For phase 2 = 3des-sha1
Enforce UDP Encapsulation: Unchecked
Click ‘OK’

Now, go to the ‘PPP Settings…’.
Only allow the following options:
Also, select the following:
- Allow BSD data compression
- Allow Deflate data compression
- Use TCP header compression
Click “OK”

7 Click “Save” and close the “Network Connections” window.
8 Now click the “Network” Icon, go the “VPN Connections” tab and click on the newly created VPN connection, to connect to PureVPN.

9 You are now connected to PureVPN!
