Client configuration time limit?

How to customize and extend your OpenVPN installation.
Post Reply
snyderm49
OpenVpn Newbie
Posts: 1
Joined: Tue May 09, 2017 4:56 pm

Client configuration time limit?

Post by snyderm49 » Tue May 09, 2017 5:03 pm

Is there a way to add a configuration line to an OpenVPN client to force it to disconnect after a certain time period?

I have tried 'inactivity n' but that doesn't work.

Can anyone help me?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 2830
Joined: Fri Jun 03, 2016 1:17 pm

Re: Client configuration time limit?

Post by TinCanTech » Tue May 09, 2017 6:45 pm

snyderm49 wrote: have tried 'inactivity n' but that doesn't work
If the client is not inactive for n seconds then it will not be disconnected ..

You can use the --management interface to kill a client.

Post Reply