User access, allow by day of week and time

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).
Post Reply
rgould
OpenVpn Newbie
Posts: 2
Joined: Wed Dec 27, 2017 7:52 am

User access, allow by day of week and time

Post by rgould » Sat Jan 06, 2018 11:38 pm

Is it possible to specify a schedule for a user for when they can connect?

For example, I'd like to ensure that only day folks who choose to work remotely or are traveling for business can connect between 9am and 5pm (local time) Monday through Friday.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 4307
Joined: Fri Jun 03, 2016 1:17 pm

Re: User access, allow by day of week and time

Post by TinCanTech » Sun Jan 07, 2018 1:37 pm

OpenVPN cannot do this but you could write a --client-connect script

Post Reply