Re: [Openvpn-users] graceful client disconnect

2020-06-01 Thread Aleksandar Ivanisevic
> On 29. May 2020, at 10:47, Aleksandar Ivanisevic > wrote: > > > >> 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 w

Re: [Openvpn-users] graceful client disconnect

2020-05-29 Thread Aleksandar Ivanisevic
> 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 configuratio

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. >

Re: [Openvpn-users] graceful client disconnect

2020-05-28 Thread Dajka Tamás
: [Openvpn-users] graceful client disconnect On 28. May 2020, at 15:04, Lev Stipakov mailto:l...@openvpn.net> > wrote: > In UDP server mode, send RESTART control channel command to connected > clients. The n parameter (default=1) controls client behavior. With n = 1 > clie

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 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

[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