Page 1 of 1

does auth-pam support to terminate a connected session ?

Posted: Tue Dec 07, 2010 7:29 am
by huangmingyou
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 ?

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

Posted: Wed Dec 22, 2010 8:15 pm
by gladiatr72
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