Mikrotik/Ubuntu L2TP IPsec

From Mana zināšanu grāmata
Revision as of 10:41, 16 April 2026 by Kaspars (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1.    Open the "Terminal"

 


 

 

 

2.    To install L2TP dependencies type following commands one by one:

 

 

<code>sudo apt-get update
sudo apt-get install network-manager-l2tp
sudo apt-get install network-manager-l2tp-gnome</code>


 

 

3.    Click on the "Network" icon in top right corner and choose Settings button in bottom left corner

 

https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/5099597202/original/tJvn5m1_pcOxQK8fDqwfBpwQbI6rl6JFEg.png?1532013935

 

 

 

4.   Click on the plus icon on your right to add new VPN connection

 


 

 

 

 

5.   Select "Layer 2 Tunneling Protocol (L2TP)" as your connection type

 

https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/5099597278/original/xtY8jWvN_x3CDcCLKQCKhJegK32uipxMCQ.png?1532014024

 

 

6.    Enter the following information:

 

  • Name: Enter a name for the connection you are adding, i.e. VPNTunnel
  • Gateway: Enter the PPTP or L2TP server address of the location/server that you wish to connect to from our server list
  • User name: Enter your VPNTunnel user name
  • Password: Enter your VPNTunnel password

 

https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/5099599728/original/RpwhHEVqNNDSV19gqSIYvrvhcm-q1p8qkA.png?1532018051

 

 

Click 'IPsec Settings..."

 

Tick "Enable IPsec tunnel to L2TP host" and enter Pre-shared key: "vpntunnel". 

Then specify connection algorithms in Advanced section: 3des-sha1-modp1024 for phase 1and3des-sha1 for phase 2.

 Сlick "OK" and then click "Add" in the top right corner

 

https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/5099597349/original/YHKLR6OFuNZYTyyfBnZsq-HmUkqcoRFgmQ.png?1532014110

 

 

 

7.    Enable your vpn by swiping the toggle.

 


 

 

All of your online activities are now 100% secure and anonymous while connected to VPNTunnel.

 

If you have any questions, or experience any issues while installing and setting up your 

Ubuntu device to connect to the VPNTunnel VPN servers - please 'contact' our Support Team anytime.