Ubuntu graphical L2TP IPSec VPN connection tool: l2tp-ipsec-vpn

Source: Internet
Author: User

The following WLAN test is successful in ubuntu11.04:

Install L2TP IPSec VPN

We will use l2tp-ipsec-vpn software for Werner Jaeger

First, open the terminal and execute the following command to install the l2tp-ipsec-vpn Software

Sudo apt-add-repository PPA: Werner-Jaeger/PPA-Werner-vpnsudo apt-Get updatesudo apt-Get install l2tp-ipsec-vpn

Configure L2TP/IPSec: IPSec Tab

After restarting the computer, we should see two similar icons in the system tray. This is the system tray icon of the L2TP IPSec VPN software.

Right-click the icon and selectEdit connections.

Add a new VPN connection name, for example, AES (the name can be any one ).

Enter the server address (domain name or IP address) of your L2TP/IPSec VPN in the remote server ), select use pre-shared key for authentication in the following input box and enter your L2TP/IPSec VPN pre-shared key, that is, pre-shared key (if you use the certificate to select the following and import the certificate) ).

You do not need to set the L2TP tab.

Configure L2TP/IPSec: PPPTab

Finally, set the PPP tab, select allow these protocols, and check Microsoft chap Version 2 (do not select other options. Generally, the L2TP/IPSec VPN authentication protocols are Microsoft chap version 2, if it cannot be authenticated, try to check other protocols ). enter the user name and password of your L2TP/IPSec VPN in username and password respectively.

No other settings are required. Save the configuration and prepare to connect to the VPN.

In this case, the VPN connection still fails. In the IPsec option, check the disable IPSec encription and find that the VPN can be connected, but the webpage cannot be opened. The following error message is displayed:

This webpage is not available

The server at xxxxCan't be found, because the DNS lookup failed.

Solution: Find the IP settings option in the PPP option and check before the obtain DNS server addresses automatically. Reconnect and find that you can access the Internet.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.