1
24.7 Production Series / Re: Sessions not dying when schedule deactivates
« on: July 31, 2024, 07:02:47 pm »
Okay.
I've created a configd file to kill the states for the range in question.
/usr/local/opnsense/service/conf/actions.d/actions_closesessionsforrange.conf
--
[check]
command:/sbin/pfctl -k <range>/24 2>&1
parameters:
type:script
message:check closesessionsforrange
description: Close Sessions for Range <range>/24
--
I then inserted a cron entry through the menu for this.
Is there any reason this would not work?
Thanks,
JF
I've created a configd file to kill the states for the range in question.
/usr/local/opnsense/service/conf/actions.d/actions_closesessionsforrange.conf
--
[check]
command:/sbin/pfctl -k <range>/24 2>&1
parameters:
type:script
message:check closesessionsforrange
description: Close Sessions for Range <range>/24
--
I then inserted a cron entry through the menu for this.
Is there any reason this would not work?
Thanks,
JF