OpenVPN - Times
How can I determine time ranges when a user can or cannot stay connected to the VPN?
noplan last edited by noplan
hook me up on this one !
out of the blue:
time based firewall rule (allow traffic from --> to time) ?
See Dokumentation here
This post is deleted!
@noplan Thank You for the answer.
A time based firewall rule will cause effect over all users.
I would like to allow or not each user indvidually.
For my kids, I gave static IP for their devices, created aliases and made a rule with a schedule.
Edit: I'm using VLAN (with DHCP server) and I'm talking about ISP VPN connection. Not pfsense as VPN server.
noplan last edited by
my suggestion a quick n dirty one
use in openVPN
follow this post to assign static IPs for your vpn-clients
noPlans qNd answer in post on this formum (https://forum.netgate.com/topic/152171/openvpn-and-static-ip-for-all-clients/8)
put these assigned IP adresses into an alias
create a firewall rule with this new alias
use the information from the documetation in this post to schedule the rule
link here --> https://docs.netgate.com/pfsense/en/latest/firewall/firewall-rule-schedules.html
i will test it today, and keep u posted,
if anyone got a better idea lets share and improve