Configuring VPN L2TP/IPsec Connection for Ubuntu OS

This article will help you learn how to configure VPN L2TP/IPsec connection on Ubuntu OS.

To configure VPN connection over L2TP/IPsec on Ubuntu, install L2TP dependencies. To do this, follow the steps:

  1.  Start the terminal (Ctrl+Alt+T) and enter 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
  2. Open the network connection settings in the upper right corner of the desktop and click Connection settings.
    1
  3. In the opened window, click + to add a new VPN configuration.
    2 (2)
  4. Select Layer 2 Tunneling Protocol (L2TP).
  5. In the next window, enter the VPN connection parameters:
    1. In the Name field, enter any name for the connection, for example, "Ishosting".
    2. In the Gateway field enter the server address (VPS).
    3. In the Username and the Password fields, write the access information from the message that you received by email when the service is activated.
      2
  6. You can also find PPTP access information in your client area.
    1. In your client area, find the VPN Servers tab.
    2. Click Manage.
      10_en (1)
    3. In the Access section, find the PPTP L2TP settings.
      11_en
    4. Download access information there.
      12_en

  7. To enter a password, click the question mark at the end of the Password field.
  8. Select Remember password for this user only or Remember password for all users. Otherwise, you need to enter your password every time you connect to the VPN.
  9. Then click IPsec Settings.
  10. In the opened window, enter the ipsec shared PSK from the message received after activating the server in the Pre-shared key field.
    3
  11. You can also find IPsec PSK access information in your client area.
    12_en_1
  12. Click OK.
  13. Click Add to save the created VPN connection.
    4
  14. VPN connection successfully configured.
    5
  15. To connect, slide the switch to the right.
    6
  16. In the VPN Connection menu in the upper right corner of your desktop, click Connect to connect quickly to VPN.
  17. If the connection is successful, you see the VPN icon in the top status bar.

If you have any questions, you can ask them in the online chat in the lower right corner of the site or by ticketing the Techsupport Department.

To order the Personal VPN and Socks5 Proxy service, please proceed with the order.