TinCanTech wrote
Stop using Network-Manager.
Note: @xq1xq1xq1, I too am running Debian 9.3 on my server. I'm having similar problems to you.
@dazo: your advice to not use "log" or "log-append" in server.conf was crucially important. I'm also using "verb 9" to debug. Now when I manually try to start openvpn on the command line with:
openvpn --config /etc/openvpn/server/server.conf
...All the highly verbose error messages show right there on the command line (and they weren't showing up in /var/log/syslog when I used "log" in server.conf)! Intensely useful!
Here's
a nice guide to disabling, but not uninstalling, Network Manager.
In a nutshell, first (
as root) show if Network manager is indeed in control of any network interfaces:
nmcli dev status
My network interfaces were under control of Network Manager (which is the default in Debian). Then to disable Network Manager:
systemctl stop NetworkManager.service
systemctl disable NetworkManager.service
Now another "nmcli dev status" should show that Network Manager is no longer in control of your Network interfaces.
Also Note: I had to append the following line to /etc/group:
nobody:x:65534:nobody
Why? Because in Debian 9, you get a "nobody" user by default, in /etc/passwd, but no "nobody" group in /etc/group. Once the "nobody" group was created thusly, then and only then I could use "user nobody" and "group nobody" in server.conf.
My openvpn server now starts! At least from the command line....