Re: Disconnecting a specified client from the server
Gert Doering <[email protected]>
| Newsgroups | gmane.network.openvpn.user |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected]
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc
(application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE----- iQGcBAEBAgAGBQJlx4T5AAoJEB2Cnv7KVigSaxkL+wRuTZA/IoTAa1dHLZcnqKvP abu5L94deVIJchyFSOjczi+slBEYvX2PLpCXgRkf4msS73S7REyDVh2rMlBwdTJF aembWen5ySMdE5zM983ZLCexwZYxj+gG2JXSPM2+mcOhZV5iZ+3SyYPQ5S7Yji4s 5tBr1YbFR+jR2zPrlwoCl9ZsRSJ007osJbyxZKbEeRz/wlluavTdOpavXpO1X/lF wmQu8fSHwPp8u5xVMFQz032j141kSWSnmJXEoVrc53RN4Z+AGkrZmkzjtJUrh2Xm pocVixHWgjxkcgdlRpmVORuZZbg6FCthOuPlQUGBIbc1M1ncYIcG6FHLnrL+0vGK LmQ9fgAWCOdbsl3pKN5RisQPPypga15rwl/jQv+8L2slkepO6lpf3WV7c1orDGtg TNpSSMo3UABxcXYRN404Ub/MBlW/MH1F386TdvyZc4kKDh+TEcycen7vJAkwxcEA ia7tJ4FnHkjDqJLyd0PPwbHgn+vL3BDBxh4wx5o9lw== =rQBI -----END PGP SIGNATURE-----