Ubuntu16.04 Installing L2TP VPN

Source: Internet
Author: User
Tags git clone

1. Installation

sudo apt install intltool libtool network-manager-dev libnm-util-dev libnm-glib-dev libnm-glib-vpn-dev Libnm-gtk-dev Libnm-dev libnma-dev ppp-dev libdbus-glib-1-dev libsecret-1-dev libgtk-3-dev libglib2.0-dev xl2tpd Strongswan

2. Download from Gitlab

git clone https://github.com/nm-l2tp/network-manager-l2tp.git

3. Running

CD NETWORK-MANAGER-L2TP    
Autoreconf-fi    
Intltoolize
./configure--disable-static--prefix=/usr--sysconfdir=/etc--libdir=/usr/lib/x86_64-linux-gnu--libexecdir=/usr/ Lib/networkmanager--localstatedir=/var--with-pppd-plugin-dir=/usr/lib/pppd/2.4.7   
Make    
sudo make install  
sudo apparmor_parser-r/etc/apparmor.d/usr.lib.ipsec.charon    
sudo apt remove xl2tpd    

sudo apt install libpcap0.8-dev  

wget https://github.com/xelerance/xl2tpd/archive/ v1.3.6/xl2tpd-1.3.6.tar.gz    
tar xvzf xl2tpd-1.3.6.tar.gz    
cd xl2tpd-1.3.6    
make    

4. After executing the above command: System Setup –> network –> add VPN–>L2TP

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.