From: survietamine on
hi,
i'm going to set-up an OpenVPN server with routed mode (tun).
One of the criteria for the user of the VPN is that each connection can
only last 20 minutes.
I don't know if i may specify that in the OpenVPN configuration or
iptables or something else.
Could you please help me about that ?

Thanks a lot.
From: Chris Davies on
survietamine <sur.vie.ta.mine(a)fr.e.e.fr> wrote:
> i'm going to set-up an OpenVPN server with routed mode (tun).
> One of the criteria for the user of the VPN is that each connection can
> only last 20 minutes.

Do you mean that the OpenVPN connection *must* be (forcefully)
disconnected after it's been up for 20 minutes?

Chris
From: survietamine on
Chris Davies a �crit :
> survietamine <sur.vie.ta.mine(a)fr.e.e.fr> wrote:
>> i'm going to set-up an OpenVPN server with routed mode (tun).
>> One of the criteria for the user of the VPN is that each connection can
>> only last 20 minutes.
>
> Do you mean that the OpenVPN connection *must* be (forcefully)
> disconnected after it's been up for 20 minutes?
>
> Chris

hi and thanks,
yes i meant that.
Each connexion may only last 20 min.

best regards.
From: Chris Davies on
> survietamine <sur.vie.ta.mine(a)fr.e.e.fr> wrote:
> One of the criteria for the user of the VPN is that each connection can
> only last 20 minutes.

Conversation determined that:
> the OpenVPN connection *must* be (forcefully) disconnected after it's
> been up for 20 minutes

How exact must this "20 minutes" be? Could it be 21 minutes? What about
25 minutes, or even more? Could it be 19 minutes?

Chris
From: survietamine on
Chris Davies wrote :

> Conversation determined that:
>> the OpenVPN connection *must* be (forcefully) disconnected after it's
>> been up for 20 minutes
>
> How exact must this "20 minutes" be? Could it be 21 minutes? What about
> 25 minutes, or even more? Could it be 19 minutes?
>
> Chris

it could be 19 minutes, 20 minutes is the maximum.
Do you think i have to manage that with an crontab that kill processes
or maybe it's ok with iptables or something else ?