Re: [Openvpn-devel] Automatically restart Linux systemd OpenVPN client service on failure

2023-05-15 Thread Melvin Vermeeren
Hi all, On Sunday, 14 May 2023 21:12:08 CEST David Sommerseth wrote: > We ended up only enabling this on the server config by default, as it > was some good points (which I don't recall right now) about not > restarting the client configs automatically. It might have been due to > avoid DDoS the

Re: [Openvpn-devel] Automatically restart Linux systemd OpenVPN client service on failure

2023-05-14 Thread David Sommerseth
On 14/05/2023 14:41, Gert Doering wrote: Hi, On Sun, May 14, 2023 at 02:38:06PM +0200, Arne Schwabe wrote: Yes the option we ignore to check if we have to reopen the tun device is quite short. We should probably turn this into a positive list instead of assuming that all options need to

Re: [Openvpn-devel] Automatically restart Linux systemd OpenVPN client service on failure

2023-05-14 Thread Gert Doering
Hi, On Sun, May 14, 2023 at 02:38:06PM +0200, Arne Schwabe wrote: > Yes the option we ignore to check if we have to reopen the tun device is > quite short. We should probably turn this into a positive list instead > of assuming that all options need to trigger to a tun reopen/close. True, but

Re: [Openvpn-devel] Automatically restart Linux systemd OpenVPN client service on failure

2023-05-14 Thread Arne Schwabe
Am 13.05.23 um 16:47 schrieb Melvin Vermeeren: Hi Arne, On Saturday, 13 May 2023 16:28:29 CEST Arne Schwabe wrote: Can you provide some more detail here? Otherwise this seem a bit nebulously to me what exactly explodes and goes wrong. I changed the --keepalive setting on the server, lowering

Re: [Openvpn-devel] Automatically restart Linux systemd OpenVPN client service on failure

2023-05-13 Thread Melvin Vermeeren
Hi Arne, On Saturday, 13 May 2023 16:28:29 CEST Arne Schwabe wrote: > Can you provide some more detail here? Otherwise this seem a bit > nebulously to me what exactly explodes and goes wrong. I changed the --keepalive setting on the server, lowering the timeout from 120 to 60 seconds to make

Re: [Openvpn-devel] Automatically restart Linux systemd OpenVPN client service on failure

2023-05-13 Thread Arne Schwabe
Am 13.05.23 um 16:24 schrieb Melvin Vermeeren: Hi all, Today I changed some OpenVPN server configuration and restarted the service, thinking all clients will reconnect just fine as usual. Unlike other days however, all Linux clients ended up exploding due to unexpected tun-device recreation and

[Openvpn-devel] Automatically restart Linux systemd OpenVPN client service on failure

2023-05-13 Thread Melvin Vermeeren
Hi all, Today I changed some OpenVPN server configuration and restarted the service, thinking all clients will reconnect just fine as usual. Unlike other days however, all Linux clients ended up exploding due to unexpected tun-device recreation and lack of permission to do so, resulting in