Alrighty,
So I got connected to the management interface via telnet.
And I can see that I'm logged in.
admin@de-vpn-1:~$ telnet localhost 1222
Trying 127.0.0.1...
Connected to localhost.local.
Escape character is '^]'.
>INFO:OpenVPN Management Interface Version 3 -- type 'help' for more info
status 3
TITLE OpenVPN 2.5.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 21 2021
TIME 2021-05-11 13:38:42 1620740322
HEADER CLIENT_LIST Common Name Real Address Virtual Address Virtual IPv6 Address Bytes Received Bytes Sent Connected Since Connected Since (time_t) Username Client ID Peer ID Data Channel Cipher
CLIENT_LIST clientDeVpn1 89.32.xxx.xxx:46302 10.8.0.2 280940 633030 2021-05-11 13:37:30 1620740250 houmie 0 0 AES-128-GCM
HEADER ROUTING_TABLE Virtual Address Common Name Real Address Last Ref Last Ref (time_t)
ROUTING_TABLE 10.8.0.2 clientDeVpn1 89.32.xxx.xxx:46302 2021-05-11 13:38:41 1620740321
GLOBAL_STATS Max bcast/mcast queue length 0
END
How can I disconnect the user `houmie`?
Looking at --help, all I see is kill, which doesn't seem to be able to kill/disconnect by username. Am I missing something?