Linux Debian无法读取多个OpenVPN配置文件(服务器)
正如我在手册中读到的,openvpn守护进程应该从/etc/openvpn目录中的每个*.conf文件中读取配置。事实上,它会在启动时出错,如果丢失了“server.conf”文件,则会在syslog中出错。其他*.conf文件被忽略 Jan 28 11:28:09 linux ovpn服务器[3639]:选项错误:在[CMD-LINE]:1:打开配置文件时出错:/etc/openvpn/server.confLinux Debian无法读取多个OpenVPN配置文件(服务器),linux,configuration,server,debian,openvpn,Linux,Configuration,Server,Debian,Openvpn,正如我在手册中读到的,openvpn守护进程应该从/etc/openvpn目录中的每个*.conf文件中读取配置。事实上,它会在启动时出错,如果丢失了“server.conf”文件,则会在syslog中出错。其他*.conf文件被忽略 Jan 28 11:28:09 linux ovpn服务器[3639]:选项错误:在[CMD-LINE]:1:打开配置文件时出错:/etc/openvpn/server.conf Debian GNU/Linux 8.1.0 Jessie,OpenVPN 2.3.
Debian GNU/Linux 8.1.0 Jessie,OpenVPN 2.3.4-5。请解决此问题,谢谢。所以我打电话
#ls/etc/openvpn/*conf
/etc/openvpn/server-tcp.conf/etc/openvpn/server-udp.conf
#/lib/systemd/system generators/openvpn generator服务器udp
#/lib/systemd/system generators/openvpn generator服务器tcp
#systemctl后台程序重新加载
请解决此问题,谢谢。所以我打电话
#ls/etc/openvpn/*conf
/etc/openvpn/server-tcp.conf/etc/openvpn/server-udp.conf
#/lib/systemd/system generators/openvpn generator服务器udp
#/lib/systemd/system generators/openvpn generator服务器tcp
#systemctl后台程序重新加载
尝试以下操作
systemctl start openvpn@yourconfname
systemctl enable openvpn@yourconfname
资料来源:
试试这个
systemctl start openvpn@yourconfname
systemctl enable openvpn@yourconfname
资料来源: