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
howto kill specific client in multi-client server mode
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN Power User
- Posts: 58
- Joined: Fri Oct 07, 2011 12:23 pm
- Location: Pune
- Contact:
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: howto kill specific client in multi-client server mode
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.
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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVPN Power User
- Posts: 58
- Joined: Fri Oct 07, 2011 12:23 pm
- Location: Pune
- Contact:
Re: howto kill specific client in multi-client server mode
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
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
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: howto kill specific client in multi-client server mode
AFAIK only using managment console and issuing kill cnHowto gracefully kill it, is it possible without management interface..
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVPN Power User
- Posts: 58
- Joined: Fri Oct 07, 2011 12:23 pm
- Location: Pune
- Contact:
Re: howto kill specific client in multi-client server mode
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
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
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: howto kill specific client in multi-client server mode
glad to helped you out.
closing topic.
Michael.
closing topic.
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"