Control User 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
gabiancofiore
OpenVpn Newbie
Posts: 2
Joined: Thu Mar 22, 2018 5:29 pm

Control User Session

Post by gabiancofiore » Thu Mar 22, 2018 5:45 pm

Hello,
I've been using OpenVPN + pfSense for a long time, and it's a wonderful solution in my opinion.

I'm with a new project and I'd like to know if it is possible to control the VPN User Session from the Server, for ex. enable an user to access the VPN during some day of the week, or during a time frame (2 day for ex.)

Also, I'd like to know if I can cut the VPN connection from the server.

Thanks in advance for your help
Best Regards
Alejandro

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Control User Session

Post by TinCanTech » Thu Mar 22, 2018 6:12 pm

gabiancofiore wrote:
Thu Mar 22, 2018 5:45 pm
enable an user to access the VPN during some day of the week, or during a time frame
Openvpn does not offer any such scheduling.
gabiancofiore wrote:
Thu Mar 22, 2018 5:45 pm
can cut the VPN connection from the server
Yes, via the management interface.

See --management in The Manual v24x

gabiancofiore
OpenVpn Newbie
Posts: 2
Joined: Thu Mar 22, 2018 5:29 pm

Re: Control User Session

Post by gabiancofiore » Thu Mar 22, 2018 6:28 pm

Thanks for your answer, but could be possible to implement this with OpenVPN plus a Radius or LDAP SERVER?

And I'm going to check this part of the manual and the interface.

Thanks
Alejandro

Post Reply