On Thu, 25 Jan 2024 10:44:26 +0000, André via Openvpn-users <openvpn-users@lists.sourceforge.net> wrote:
>Hi, > >My unit files are in /usr/lib/systemd/system/ > >sudo systemctl list-unit-files|grep openvpn >openvpn-client@.service disabled disabled >openvpn-server@.service >. OK, this is what I see: $ sudo systemctl list-unit-files|grep openvpn openvpn-client@.service disabled enabled openvpn-server@.service indirect enabled openvpn.service enabled enabled openvpn@.service indirect enabled But when I do this I get a somewhat different output (newsreader is wrapping the lines...): $ sudo systemctl |grep openvpn openvpn-server@server.service loaded active running OpenVPN service for server openvpn-server@serverlocal.service loaded active running OpenVPN service for serverlocal openvpn.service loaded active exited OpenVPN service ? openvpn@server.service loaded failed failed OpenVPN connection to server system-openvpn.slice loaded active active system-openvpn.slice system-openvpn\x2dserver.slice loaded active active system-openvpn\x2dserver.slice I have two services running, defined in /etc/openvpn/server: server.conf and serverlocal.conf The server.conf is a full VPN which accesses both the local LAN and the Internet via the server's gateway. Used for geolocation problems. The serverlocal.conf is basically the same except it does *not* forward traffic to the Internet through the server's gateway - hence the name serverlocal. Only used to access the LAN for maintenance when I am traveling. >sudo systemctl edit --full openvpn-server@.service >After edit and saving, a copy is created in /etc/systemd/system/ that will >override the default in /usr/lib/systemd/system/ > So I did this too as follows to modify the conf: $ sudo systemctl edit --full openvpn-server@.service Now luckily I got to the nano editor as I hoped with a strange file opened: /etc/systemd/system/.#openvpn-server@.service28d7abe159f9e54e So I edited the file (removed the --suppress-timestamps item) and saved it under its name as shown. But when I got back to the command line I was greeted with this: Failed to reload daemon: Connection timed out What does this mean and what should I do to get this right? -- Bo Berglund Developer in Sweden _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users