CentOS 7 l2tp VPN 架設

<安裝>
yum install strongswan xl2tpd

<設定>
vi /etc/strongswan/ipsec.conf
vi /etc/strongswan/ipsec.secrets
vi /etc/xl2tpd/xl2tpd.conf
vi /etc/ppp/options.xl2tpd
vi /etc/ppp/chap-secrets

<啟動>
systemctl start strongswan 
systemctl enable strongswan
systemctl start xl2tpd 
systemctl enable xl2tpd
2020-07-08T14:47:56+08:00