Page 1 of 1

Auto disconnect

Posted: Mon Apr 04, 2011 7:21 am
by bruskie
Hi there,

Is there somewhere an option to auto disconnect a user when idle for a specific set period? I don't want users to be connected for hours on end when they forget to disconnect.

Thanks,
Christian

Re: Auto disconnect

Posted: Mon Apr 04, 2011 9:47 am
by janjust
Read The Fine Manual:

Code: Select all

--inactive n
where <n> is the number of seconds.

Re: Auto disconnect

Posted: Sun May 08, 2011 4:01 pm
by bruskie
Thanks.
So would I enter this under Advanced VPN configuration, Client Config Directives?
inactive 60 for example to disconnect after 60 seconds if inactive?

Re: Auto disconnect

Posted: Sun May 08, 2011 9:36 pm
by janjust
which GUI are you talking about? in the openvpn server config file, which is a plaintext file in most cases, simply add

Code: Select all

inactive 60

Re: Auto disconnect

Posted: Mon May 09, 2011 4:47 am
by bruskie
The admin GUI.
https://external_address_to_OpenVPN_server/admin

Re: Auto disconnect

Posted: Mon May 09, 2011 6:12 am
by janjust
that's the GUI from OpenVPN Access Server, which is the commerical version of OpenVPN. This forum does not cover that product. Please ask Access Server related questions to the OpenVPN Access Server Tech Support team.