does auth-pam support to terminate a connected session ?

This forum is for admins who are looking to build or expand their OpenVPN setup.

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.
Post Reply
huangmingyou
OpenVpn Newbie
Posts: 1
Joined: Tue Dec 07, 2010 7:25 am

does auth-pam support to terminate a connected session ?

Post by huangmingyou » Tue Dec 07, 2010 7:29 am

hi,all

I wan't use the auth-pam in openvpn. and I wan't terminate a connected session when I needed? like the user get the net throught limit or other something.

so ,use the auth-pam can do this ? or the openvpn can do this ?

User avatar
gladiatr72
Forum Team
Posts: 194
Joined: Mon Dec 13, 2010 3:51 pm
Location: Lawrence, KS

Re: does auth-pam support to terminate a connected session

Post by gladiatr72 » Wed Dec 22, 2010 8:15 pm

Hello,

This is how I'm reading your post:

You are wanting to use pam-auth to authenticate your openvpn users. You want to know if openvpn will automatically terminate a connection when any pam related limit is reached.

I believe the answer is: not immediately. I haven't tested this, but I think you will find that the client won't be disconnected until the connection re-keys itself.

Regards,
Stephen
[..]I used to think it was awful that life was so unfair. [...]Wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? -Marcus Cole

Post Reply