Scheduled client disconnection

Is it possible to set up a scheduled client disconnection, where a specific MAC address in the Green zone gets it’s LAN->WAN disabled?
Or will I need to do it via CLI and the likes of :

/sbin/iptables -A INPUT -m mac --mac-source 00:0F:EA:91:04:08 -j DROP

the above Wiki should help. Read the bottom section “Use time constraints”.

You may want to try this - it might work:

( I did not test! )

2 Likes

Thanks, I’ve done that and for good measure added fcrontab rules…

1 Like

keep in mind the changes to fcrontab might be deleted during updates. It doesn’t happen often but it does happen.

2 Likes

Make sure you take a look at your iptables. You may be adding multiple lines for every time cron runs.

I think you need to delete -D the old before adding -A the new.

Use to check:

iptables --list-rules
1 Like