安装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

相关文章:

  • 2022-12-23
  • 2021-04-16
  • 2021-05-26
  • 2021-11-07
  • 2021-05-28
  • 2021-06-06
  • 2022-03-03
  • 2022-12-23
猜你喜欢
  • 2021-10-01
  • 2021-12-05
  • 2021-05-21
  • 2022-01-01
  • 2021-10-26
  • 2021-12-19
  • 2022-12-23
相关资源
相似解决方案