/sbin/pfctl -F state
try to do this using 2 rules:first: allow rule for that alias ip for scheduled time defined.second: block rule for that alias ip all the time.when first rule is not active traffic will be dropped for that IP regardless of connection state.p.s. in my case I allow traffic to private LANs all the time.
Quote from: 3kj2w on March 01, 2018, 05:13:39 pmtry to do this using 2 rules:first: allow rule for that alias ip for scheduled time defined.second: block rule for that alias ip all the time.when first rule is not active traffic will be dropped for that IP regardless of connection state.p.s. in my case I allow traffic to private LANs all the time.Thanks, just set this up and will see how it goes tonight...