linux - Debian 无法读取多个 OpenVPN 配置文件(服务器)

标签 linux configuration server debian openvpn

关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。












想改进这个问题?将问题更新为 on-topic对于堆栈溢出。

4年前关闭。




Improve this question




正如我在手册中所读到的,openvpn 守护进程应该从/etc/openvpn 目录中的每个 *.conf 文件中读取配置。事实上,如果“server.conf”文件丢失,它会在启动时出错并在 syslog 中出现错误。其他 *.conf 文件被忽略。

Jan 28 11:28:09 linux ovpn-server[3639]: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/server.conf



Debian GNU/Linux 8.1.0 杰西,OpenVPN 2.3.4-5。

最佳答案

解决这个问题,谢谢forum .所以我打电话
# ls /etc/openvpn/*conf/etc/openvpn/server-tcp.conf /etc/openvpn/server-udp.conf# /lib/systemd/system-generators/openvpn-generator server-udp# /lib/systemd/system-generators/openvpn-generator server-tcp# systemctl daemon-reload

关于linux - Debian 无法读取多个 OpenVPN 配置文件(服务器),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35056413/

相关文章:

Eclipse-Groovy 插件 : Adding new Groovy compiler versions

c - 错误消息 "undefined reference for ` CPU_ZERO'”

java - 一旦主 NN 出现故障,自动从 Java 应用程序连接到 HDFS 辅助 NN

java - 泽西客户端创建错误

intellij-idea - IntelliJ IDEA 14 : Local history storage format

ubuntu - NGINX SEO 重写

server - Facebook Messenger 平台中的发送按钮模板 : web_url Button Clicked Event

web-applications - 我如何提供 Polymer Web 应用程序?

linux - rsync 不复制我的文件

c++ - 如何使用cmake将cuda文件正确链接到cpp文件