Hi, Use "client-kill CID HALT" from the management interface. The third argument of this command is optional (defaults to RESTART) -- what you want is HALT. Use "status 2" to get the CID of the client.
The client will get a termination signal. If you are using the Windows GUI for the client, it will popup a message saying connection was terminated. Selva On Tue, May 11, 2021 at 10:11 AM Houman <hou...@gmail.com> wrote: > > Hello, > > I have been struggling to find a way to disconnect a specific user from the > OpenVPN server. > I believe there is one way to kill the user's connection by IP address/port > via the management interface. That's really bad though, because the user is > still connected to the VPN and has no idea about it. Ideally I should be > able to disconnect the user properly, so that the user can see he is no > longer connected to the client. > > Or alternatively do you know if there is a plugin for OpenVPN to handle CoA > (Change-Of-Authorisation) requests from Freeradius? Because Freeradius could > just do that, if OpenVPN had support for it. > > Your help is much appreciated, > Thank you, > Houman > _______________________________________________ > Openvpn-users mailing list > Openvpn-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openvpn-users _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users