Temporary disable client access

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
arodier
OpenVpn Newbie
Posts: 2
Joined: Sat Jan 15, 2011 10:43 am

Temporary disable client access

Post by arodier » Sat Jan 15, 2011 10:48 am

Hello,

I want to temporarily disable some clients to access the VPN, without revoking their certificate.
My configuration is bridged, and I have the client config dir option activated.

Thanks for your help

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Temporary disable client access

Post by maikcat » Mon Jan 17, 2011 12:02 pm

use ccd-exclusive directive inside server.conf

if ccd file exists the client connects,if not he get auth_failed message..

rename the ccd back to normal and he can connect again..

cheers,

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"

arodier
OpenVpn Newbie
Posts: 2
Joined: Sat Jan 15, 2011 10:43 am

Re: Temporary disable client access

Post by arodier » Mon Jan 17, 2011 1:11 pm

Thanks for that, but that suppose to have a file for each client...

I finally have opted for a custom tls-verify script in python ;-)

Post Reply