Page 1 of 1
howto kill specific client in multi-client server mode
Posted: Thu Feb 09, 2012 9:17 am
by tushar.sharma
Hello All,
i have setup openvpn server and allowed to 10 clients to connect
to it,, now if i want to gracefully kill some specific client on basis
of its ip or common how can i do that using openvpn command line
mode..is it really possible ?
Thanking You,
Tushar Sharma
Re: howto kill specific client in multi-client server mode
Posted: Thu Feb 09, 2012 9:19 am
by maikcat
you can via managment console -BUT-
if they run openvpn as service they will reconnect..
to temporary block them you must use ccd-exclusive directive
and rename/remove their ccd file..
Michael.
Re: howto kill specific client in multi-client server mode
Posted: Thu Feb 09, 2012 9:47 am
by tushar.sharma
Dear Maikcat,
I have establish one connection of client to server initially kept its file in ccd dir now
and on running connection i have renamed its file in ccd folder still the client is connected.
Howto gracefully kill it, is it possible without management interface..
thanking YOu
Tushar
Re: howto kill specific client in multi-client server mode
Posted: Thu Feb 09, 2012 12:25 pm
by maikcat
Howto gracefully kill it, is it possible without management interface..
AFAIK only using managment console and issuing kill cn
Michael.
Re: howto kill specific client in multi-client server mode
Posted: Fri Feb 10, 2012 6:36 am
by tushar.sharma
Hey Maikcat,
I have done it using management interface only.
I opened one tcp socket on management interface on my gui
and send kill command with specific client common name instance.\
Thanking You
Tushar

Re: howto kill specific client in multi-client server mode
Posted: Fri Feb 10, 2012 8:33 am
by maikcat
glad to helped you out.
closing topic.
Michael.