Disconnect a client from the server

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
luizmendes
OpenVpn Newbie
Posts: 1
Joined: Tue Oct 19, 2021 5:57 pm

Disconnect a client from the server

Post by luizmendes » Tue Oct 19, 2021 6:01 pm

Hello,

I have an openvpn server version 2.4.7 and several clients connect to this server. I have the "Virtual Address" of each client, I would like to know which command that executed from the server would disconnect only 1 of these clients.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Disconnect a client from the server

Post by TinCanTech » Tue Oct 19, 2021 10:03 pm

You have to use the management interface to connect to the server process and then issue a client-kill command for the client.

Post Reply