How to schedule network access restrictions based on MAC?

I am looking to implement restrictions much as described at this HowTo except also restricting by MAC address.
Any suggestions would be welcome,

Edit - this OpenWRT guide worked perfectly, the menus and interface it describes are already part of the advanced Luci admin interface.

1 Like

I use rule in /etc/config/firewall aka:

config rule
option name ‘Vojta block at evening’
option dst ‘wan’
option extra ‘-m time --weekdays Mon,Tue,Wed,Thu,Sun --timestart 21:30 --timestop 06:00 --kerneltz’
option target ‘REJECT’
option src_mac ‘C4:0B:CB:AE:3E:E3’
option src ‘*’

2 Likes