Hi,

On Sat, Feb 10, 2024 at 10:50:59AM +0000, Peter Davis wrote:
> > [management]
> 
> Hi,
> Thanks.
> I see the "client-deny" command. Is it possible to prevent a client from 
> connecting to the server using this command? If yes, is this blocking until 
> the server reboots?

management API is stateless, the server process will remember nothing.

So you can deny a client *when it connects* (--management-client-auth
needs to be set), but you can't tell the OpenVPN server process "deny
this client forever".

see doc/management-notes.txt in the OpenVPN source tree.

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

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

Reply via email to