ubuntu 18 安装L2TP


安装L2TP

sudo apt-add-repository ppa:seriy-pr/network-manager-l2tp
sudo apt-get update
sudo apt-get install network-manager-l2tp-gnome

sudo service xl2tpd stop
sudo update-rc.d xl2tpd disable

reboot

创建L2TP连接
重启后打开设置,找到network-VPN,新建一个VPN,选择L2TP

将新VPN连接命名为newVPN
将主机名或地址放在Gateway字段中。
将用户名放在用户名字段中。
单击“密码”字段中的图标,然后选择有关如何提供密码的首选项


单击IPSec设置...
单击Enable IPsec tunnel to L2TP hos
在预共享密钥字段shared secret中输入共享密钥
将Gateway ID字段留空。
展开“高级选项”区域
在Phase 1 Algorithms框中输入“3des-sha1-modp1024”
在Phase 2 Algorithms框中输入“3des-sha1”
选中“Enforce UDP encapsulation”复选框

查看运行情况
sudo tail -f /var/log/syslog


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM