On Fri, Jan 20, 2017 at 2:30 AM, Gert Doering <g...@greenie.muc.de> wrote:

> On Thu, Jan 19, 2017 at 07:25:28PM -0500, Selva Nair wrote:
> > I would be interested in this too, but how do you trigger a reconnect
> from
> > the server side? I only know "client-kill CID" or "kill cn"  but the
> client
> > will not notice that until keep-alive timeout which would cause a long
> > disruption. Is it possible to send a sigusr1 restart to the client from
> > server?
>
> doc/management-notes.txt fails to mention this, but the code says
>
>     msg(M_CLIENT, "client-kill CID [M]    : Kill client instance CID with
> messag
> e M (def=RESTART)");
>
> ... so client-kill *should* do the right thing: tell the client "come back
> right away" (RESTART).  There also is "RESTART,[N]" which I understand to
> be "restart, but use the next server in your list" and "HALT", which is
> "kill yourself".



Thanks  -- that works perfectly. I just assumed client-kill behaves the
same way as "kill cn" or "kill addr". It would be nice if one could restart
by cn or address as well.

Selva
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to