Time based ou user based access.
Posted: Wed Apr 08, 2020 3:16 pm
Is there a way to control time ranges when a user can access the VPN service?
With our SSH server, we do it like this:
- Firewall rule allows access to ssh port 24x7
- SSH server crontab modifies the allowed users list, by overwriting sshd_config file (and restarting service). One copy allows all users within business hours, the other copy allows only IT staff on weekends.
Thanks
With our SSH server, we do it like this:
- Firewall rule allows access to ssh port 24x7
- SSH server crontab modifies the allowed users list, by overwriting sshd_config file (and restarting service). One copy allows all users within business hours, the other copy allows only IT staff on weekends.
Thanks