Re: Disconnecting a specified client from the server

Peter Davis via Openvpn-users <[email protected]>
Newsgroups gmane.network.openvpn.user
Message-ID <yVtIQMBljiGt61dofAo8pKgD8KJjq6aTCD3dj3Pqs0J4jkIDCPgbOyDIps2s2vCEEvhBO-BobZFC9NMINHiqlzCH_2B98OeiKq91-F9pTo0=@proton.me>
> On Friday, February 9th, 2024 at 8:11 PM, Gert Doering <[email protected]> wrote:

> Hi,
> 
> On Fri, Feb 09, 2024 at 04:37:29PM +0000, Peter Davis via Openvpn-users wrote:
> 
> > With the help of the "openvpn-status.log" file, I can see which client
> > is connected to the server. I want to disconnect one of the clients.
> > I know I have to use the OpenVPN Management Interface.
> 
> 
> Yep.
> 
> > Should "--management IP port" be added in the server configuration file? What should be the value of IP and Port?
> 
> 
> Whatever you need it to be. Usually you'd use 127.0.0.1 for IP, because
> you do not want to expose the management interface to "the world".
> 
> For Port, anything that is not in use on your system otherwise can be
> used. I tend to use something like 21149 or so ("second port for openvpn")
> but that is totally arbitrary.
> 
> 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]

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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.