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 as a backup 
and would like to keep clients off of it unless it is really necessary, i.e. 
the main line is down. I also often need to adjust the routes and that requires 
a restart of the server but then all clients are blocked for a -—ping-restart 
seconds which my users, rightfully, find very annoying.

with TCP, one can presumably send a RST, but with UDP? I’ve tried sending 
various ICMPs like host or port unreachable, but it doesn’t seem to help.

issuing kill <cid> makes a server forget a session but it does not notify the 
client in any way, so the client still waits ping-restart seconds, which is not 
a very good UX. exiting with a non-zero from client-connect or tls-verify 
throws an authentication error and does not retry other remote.


any other ideas?

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

Reply via email to