How to setup L2TP on Linux Lite 4.3

Feb 26, 2020
May 06, 2021
Download PDF

You can now set up an L2TP VPN on your Linux lite 4.3 by using PureVPN. You can follow the guide to get started:

1 Go to Menu option and search and open Terminal Emulator.

2 Install L2TP packages. Type the following commands one by one:

sudo apt-get update

sudo apt-get install network-manager-l2tp

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

sudo apt-get install xl2tpd

3 Go to the Menu and open the Network Connections option, then click on the ‘+’ icon to create a new VPN connection.

4 Select Layer 2 Tunneling Protocol (L2TP) option. Click Create.

5 When a new window appears, complete the fields as below:

  • Enter Connection name: PureVPN
  • Enter Gateway: (you can use your desired server address here,  in order to see the complete list click here)
  • Enter Username provided by PureVPN
  • Enter Password provided by PureVPN

6 Go to the ‘IPsec Settings…’ button.

7 Check the ‘Enable Ipsec tunnel to IPsec host’

8 Pre-share key: 12345678

9 Then specify connection algorithms in Advanced section:

10 For phase 1= 3des-sha1-modp1024  and

11 For phase 2 = 3des-sha1

12 Click OK

13 Go to the PPP Settings…’ button.

Only allow the following options:


Also, select the following:

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

Сlick OK, then the Save button.

6 Go to the Ethernet Network option and under VPN Connections click/check on the newly created PureVPN connection to activate VPN.

You are connected to VPN now!

How helpful did you find this answer?

Comments (0 )