Page 1 of 1

Time based ou user based access.

Posted: Wed Apr 08, 2020 3:16 pm
by laurocosta
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

Re: Time based ou user based access.

Posted: Tue May 12, 2020 10:52 am
by allaboutthebase
Another option we use is to restrict the users log on times in Active Directory.

This doesnt stop them from VPN but does limit them accessing any resources.

Ideally it would be nice to be able to set permitted login times for a group using the ACCESS LIST.

Re: Time based ou user based access.

Posted: Thu May 28, 2020 11:03 am
by drkrool
I don't think there is a feature exactly for your need built-in the softether software.

If I was in your position, I would do two hubs, one for during the buisness hours and the other for the IT staff and program a scheduled task using the vpncmd tool to turn off the buisness hours hub when wanted and turning it back on the same way.