VPN with delay [Archive] - SpeedGuide.net Broadband Community

View Full Version : VPN with delay


survietamine
01-25-08, 10:38 AM
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.

Chris Davies
01-25-08, 05:04 PM
survietamine <sur.vie.ta.mine@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

survietamine
01-28-08, 10:51 AM
Chris Davies a écrit :
> survietamine <sur.vie.ta.mine@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.

Chris Davies
01-30-08, 07:44 AM
> survietamine <sur.vie.ta.mine@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

survietamine
01-31-08, 08:47 AM
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 ?

Chris Davies
02-12-08, 06:04 AM
Conversation determined that:
> the OpenVPN connection *must* be (forcefully) disconnected after it's
> been up for 20 minutes

> 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 ?

Take a look at the management interface to OpenVPN. It may be able to
give you the sort of information you need, in terms of which processes
have reached a 20 minute age. You'll then need to parse that (as you
say, from a regular cron job running perhaps every minute or so) and
tell the management interface which processes to kill.

Chris