Quick temporary WAN MAC Block for OpenWRT LuCI web UI
Only for nftables (OpenWRT v22 and upper). Optimized for phone view.
Place this directory under package/luci-macblock inside your SDK/buildroot and run:
git clone https://github.com/mrFallon/luci-macblock.git package/luci-macblock
make defconfig
make package/luci-macblock/compile -j$(nproc)
Artifacts will appear under bin/packages/*/*/.
nft -a list chain inet fw4 raw_prerouting | grep -F '"fw4mb_GroupNAME"' | sed -n 's/.*# handle \([0-9]\+\)$/\1/p' | xargs -r -n1 nft delete rule inet fw4 raw_prerouting handle
You can use cron with command in executed commands and unblock using command upper
| Default bootstrap theme | OpenWRT2020 theme |
![]() |
![]() |

