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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy