Skip to main content
How to set up PureVPN L2TP on MX Linux 19.1

Wants to establish L2TP-VPN client to work on MX Linux, follow this simple guide.

Updated over a year ago

Find your VPN credentials for manual configuration

To find your VPN credentials log into the PureVPN Member Area. Click šŸ‘‰ here to visit Member Area.

  • Login to the Member Area using your PureVPN registered email address and password.

  • On subscriptions tab scroll down to be able to view your VPN credentials.

  • You will be able to see and copy your VPN credentials.

  • Note down your PureVPN username and click on Eye icon to make your password visible and use it in the manual configuration.

How to connect L2TP on Linux MX 19.1

Follow our step-by-step instructions to configure L2TP and establish a secure VPN connection on your Linux MX 19.1 system. Enhance your online privacy and security effortlessly with our detailed tutorial.

  • Go to the Launcher option and select/ open the Xfce Terminal from there.

  • Now you need to install L2TP packages. Type the following commands one by one:

  1. sudo apt-get update

  2. sudo apt-get install network-manager-l2tp-gnome network-manager-strongswan libstrongswan-standard-plugins libstrongswan-extra-plugins

  3. sudo apt-get install network-manager-l2tp

  4. sudo apt-get install xl2tpd

  • Click Ethernet Network Connections icon then VPN Connections and then select Add a VPN Connectionā€¦ option.

  • Select Layer 2 Tunneling Protocol (L2TP) from the drop-down list under the VPN Connection Type and click the Create button.

  • Insert the following info:

  • Insert Connection name: PureVPN.

  • Insert the desired server: Please refer to the server address shared in the above note.

    1. Germany: de1.pointtoserver.com

    2. Netherlands: nl1.pointtoserver.com

    3. United Kingdom: ukl1.pointtoserver.com

    4. United States: usil1.pointtoserver.com

    5. United States: ustx1.pointtoserver.com

    6. United States: usca1.pointtoserver.com

    7. United States: usfl1.pointtoserver.com

    8. United States: usny1.pointtoserver.com

    9. United States: uswdc1.pointtoserver.com

    10. Australia: au-sd1.pointtoserver.com

  • Enter your VPN credentials. Here is how you can find your VPN credentials.

  • Now, Go to the IPsec Settingsā€¦ option.

    1. Check the Enable IPsec tunnel to IPsec host

    2. Pre-shared key: 12345678

    3. Then specify connection algorithms in the Advanced section:

    4. For phase 1= 3des-sha1-modp1024 and

    5. For phase 2 = 3des-sha1

    6. Enforce UDP Encapsulation: Unchecked

  • Click OK.

  • Go to the PPP Settingsā€¦.

  • Only allow the following options:

    1. MSCHAP.

    2. MSCHAPV2.

  • Also, select the following:

    1. Allow BSD data compression.

    2. Allow Deflate data compression.

    3. Use TCP header compression.

  • Click OK.

  • Click Save and close the Network Connections window.

  • Now click Ethernet Network Connections icon, go to the VPN Connections tab, and click the newly created VPN connection, to connect to PureVPN.

  • You are now connected to PureVPN!

Did this answer your question?