On 15/11/21 17:19, Selva Nair wrote:
>
>
> On Mon, Nov 15, 2021 at 12:08 PM Jan Just Keijser <janj...@nikhef.nl
> <mailto:janj...@nikhef.nl>> wrote:
>
>     Hi Rui,
>
>
Hi Selva, thank you for your reply :)

> I guess you mean server config, not client config. On client, 2 would
> be interpreted as the number of times to send the notify.
You are correct. I forgot to mention that on my second bullet.
>  
>
>
>     this is indeed what you use the management interface for. Read up
>     at e.g.
>       https://openvpn.net/community-resources/management-interface/
>     <https://openvpn.net/community-resources/management-interface/>
>
>     the command is
>        kill <client-CN>
>     or
>        kill <client-IP>:<port>
>
>
> I think that will send SIGTERM to the client which you do not want.
> Instead use 
>
> client-kill CID
>
> from the management interface of the server. Here CID is the client-id
> of the client which could be obtained from status output. This command
> by default causes the client to RESTART. It takes an optional argument
> if you want to, say, HALT the client instead.
The proper message is RESTART,[2].
RESTART alone, although it will trigger a restart, it will not trigger
the client to connect to the "next" server.
>
> Selva
Cheers :)




_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to