ipsec ikev1.note
1、server
apt install strongswan -y
vim /etc/ipsec.conf
man ipsec.conf #可以查看模板
vim /etc/ipesc.secrets
systemctl restart strongswan-starter2、client
apt install strongswan
vim /etc/ipsec.conf
vim /etc/ipsec/secrets
systemctl restart strongswan-starter
echo "c CLI" | tee /var/run/xl2tpd/l2tp-control
ipsec up CLI