赞
踩
安装l2tp
sudo apt install xl2tpd
sudo apt install strongswan
sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp
sudo apt install network-manager-l2tp
修改配置文件
然后是配置部分了,需要用sudo权限来修改下面几个文件:
(1) 编辑/etc/ipsec.conf
conn L2TP-IPSEC
authby=secret
auto=add
keyingtries=3
ikelifetime=8h
keylife=1h
ike=aes128-sha256-modp3072
esp=aes128-sha256
type=transport
#Replace IP address with your current IP used for L2TP connection
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。