strongSwan 启动失败

strongSwan 启动失败

我正在 Ubuntu 20.4 客户端上配置 L2TP VPN。在以下安装后本网站,当我想重新启动 ipsec 时/usr/sbin/ipsec start出现此错误:

Starting strongSwan 5.8.2 IPsec [starter]...
charon is already running (/var/run/charon.pid exists) -- skipping daemon start
/etc/ipsec.conf:1: missing value for setting 'config'
invalid config file '/etc/ipsec.conf'
unable to start strongSwan -- fatal errors in config

解决方案是什么?

这是我的 /etc/ipsec.conf: 在此处输入图片描述


我的最新更新(2020-07-10

root@ubuntu:/home/username# /usr/sbin/ipsec start
Starting strongSwan 5.8.2 IPsec [starter]...
charon is already running (/var/run/charon.pid exists) -- skipping daemon start
/etc/ipsec.conf:2: missing value for setting 'conn'
invalid config file '/etc/ipsec.conf'
unable to start strongSwan -- fatal errors in config

在此处输入图片描述

相关内容