OpenVPN - Times
-
Hello.
How can I determine time ranges when a user can or cannot stay connected to the VPN?
-
hook me up on this one !
out of the blue:
time based firewall rule (allow traffic from --> to time) ?See Dokumentation here
https://docs.netgate.com/pfsense/en/latest/firewall/firewall-rule-schedules.html -
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. -
Hello,
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.
-
@hugoeyng
my suggestion a quick n dirty oneA)
use in openVPN
B)
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)C)
put these assigned IP adresses into an aliasD)
create a firewall rule with this new aliasE)
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.htmli will test it today, and keep u posted,
if anyone got a better idea lets share and improvenP