[Openvpn-users] graceful client disconnect

2020-05-28 Thread Aleksandar Ivanisevic
Hi, is there a way to signal a client to disconnect immediately and reconnect, preferrably using other remote and after a delay? That would be really useful when doing planned server restarts and rebalancing client connections. the background is that I have an expensive metered LTE connection a

Re: [Openvpn-users] graceful client disconnect

2020-05-28 Thread Lev Stipakov
Hi, Have a look at explicit-exit-notify option in server config: https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/ > In UDP server mode, send RESTART control channel command to connected > clien

Re: [Openvpn-users] First steps toward setting up openvpn

2020-05-28 Thread David Sommerseth
On 27/05/2020 17:25, Joshua Webb wrote: > I run a stable version of Debian and I would like to set up an OpenVPN, but I > do not know where to start. Would somebody point me to the documentation I > would need to implement an OpenVPN on my base system?  > This might be a reasonable starting point

Re: [Openvpn-users] graceful client disconnect

2020-05-28 Thread Aleksandar Ivanisevic
> On 28. May 2020, at 15:04, Lev Stipakov wrote: > > > In UDP server mode, send RESTART control channel command to connected > > clients. The n parameter (default=1) controls client behavior. With n = 1 > > client will attempt to reconnect to the same server, with n = 2 client will > > advan

Re: [Openvpn-users] graceful client disconnect

2020-05-28 Thread Dajka Tamás
Tune ’reneg-secs’, so the client will ’log-in’ periodically (default 3600s). Then in the auth handler you can disconnect them upon need. From: Aleksandar Ivanisevic [mailto:aleksan...@ivanisevic.de] Sent: Thursday, May 28, 2020 8:24 PM To: openvpn-users@lists.sourceforge.net Subject: Re: [Ope

Re: [Openvpn-users] graceful client disconnect

2020-05-28 Thread Selva Nair
> Thanks, Almost perfect! ;) Now, is there a way to send RESTART control > message only to the specific client, or at least decide in runtime what the > n parameter will be, as I don’t know in advance whether the server will be > restarted to rebalance the clients or to change the configuration. >