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
Auto disconnect
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Auto disconnect
Read The Fine Manual:
where <n> is the number of seconds.
Code: Select all
--inactive n
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Mar 23, 2011 9:12 am
Re: Auto disconnect
Thanks.
So would I enter this under Advanced VPN configuration, Client Config Directives?
inactive 60 for example to disconnect after 60 seconds if inactive?
So would I enter this under Advanced VPN configuration, Client Config Directives?
inactive 60 for example to disconnect after 60 seconds if inactive?
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Auto disconnect
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
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Mar 23, 2011 9:12 am
Re: Auto disconnect
The admin GUI.
https://external_address_to_OpenVPN_server/admin
https://external_address_to_OpenVPN_server/admin
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Auto disconnect
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.