Enabling L2TP over IPSec on Ubuntu 16.04
来源:互联网 发布:php收银系统 编辑:程序博客网 时间:2024/06/06 09:04
原文地址:http://blog.z-proj.com/enabling-l2tp-over-ipsec-on-ubuntu-16-04/
Ubuntu has stopped shipping L2TP over IPSec support for Ubuntu since Precise. A workaround for this exists usingnetwork-manager-l2tp
.
First you must install the prerequisites:
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
Then build the network manager again:
git clone https://github.com/nm-l2tp/network-manager-l2tp.git cd network-manager-l2tp autoreconf -fi intltoolize
Make sure no errors have occurred.
Configure the build:
./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 sure no errors occurred.
Then make it:
make sudo make install
Remove AppArmor settings for IPSec:
sudo apparmor_parser -R /etc/apparmor.d/usr.lib.ipsec.charon sudo apparmor_parser -R /etc/apparmor.d/usr.lib.ipsec.stroke
Replace x2ltpd with libpcap:
sudo apt remove xl2tpd sudo apt install libpcap0.8-devwget 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 sudo make install
Now restart your machine.
Network Manager should now have an option to use a L2TP VPN connection.
0 0
- Enabling L2TP over IPSec on Ubuntu 16.04
- Enabling L2TP over IPSec on Ubuntu 16.04
- L2TP Over IPSec On Ubuntu(Debian,CentOS) With OpenSwan
- 在亚马孙EC2上建立L2TP VPN,Setup L2TP over IPSec VPN on Ubuntu Linux with Amazon EC2
- 搭建L2TP over IPSec VPN
- Build L2TP over IPSec on Linux(Using OpenSwan and l2tpd.0.69)
- IPSEC L2TP VPN on Ubuntu 13.10 with OpenSwan, xl2tpd and ppp
- IPSEC L2TP VPN on Ubuntu 13.10 with OpenSwan, xl2tpd and ppp
- cisco: L2TP over ipsec的配置(1)
- ubuntu下安装L2TP/IPSec服务器
- l2tp/ipsec remote access vpn on pix 6.3
- 如何在 Debian / Ubuntu 服务器上架设 L2TP / IPSec VPN
- Ubuntu server 12 上搭建 L2TP/IPSec VPN
- 如何在 Debian / Ubuntu 服务器上架设 L2TP / IPSec VPN
- Ubuntu/Debian L2TP IPSec一键安装脚本(转载)
- 强叔拍案惊奇 出差员工使用手机通过L2TP over IPSec接入总部
- ubuntu 16.04 L2TP
- ubuntu 16.04 L2TP vpn
- OpenCV描述符匹配
- 如何去掉android头部label的方法
- 一个简单粗暴的方法让后台数据改变的时候app端自动更新
- 英文文章表达
- MySQL分页查询优化
- Enabling L2TP over IPSec on Ubuntu 16.04
- 手写笔技术大不全
- 《Objective-C基础教程》读书笔记(1)
- javascript:引用js文件时的编码格式问题
- Android 系列 3.13使用Android Lint的静态代码测试
- 安卓自定义控件常用对象及方法
- Java基础-反码与补码详解
- 2017年的初
- win10 + WDK10+ VS2015 + vmware_win10 驱动开发环境配置