1、安装strongswan
apt-get install strongswan strongswan-plugin-xauth-generic
2、编辑 /etc/ipsec.secrets 内容为:
公网IP地址 %any : PSK “密匙”
用户名 : XAUTH “用户密码”[……]
1、安装strongswan
apt-get install strongswan strongswan-plugin-xauth-generic
2、编辑 /etc/ipsec.secrets 内容为:
公网IP地址 %any : PSK “密匙”
用户名 : XAUTH “用户密码”[……]