I need to temporary add and remove lan-side mac-addresses via shell command-line to and from client blocklist. How can I do that? Many thanks in advance
Add the MAC to the blacklist, execute:
uci add_list gl-black_white_list.black.mac='xx:xx:xx:xx:xx:xx'
uci commit gl-black_white_list
/etc/init.d/gl-black_white_list restart
There is no temporary command, if you need to remove it from the blacklist, execute:
uci del_list gl-black_white_list.black.mac='xx:xx:xx:xx:xx:xx'
uci commit gl-black_white_list
/etc/init.d/gl-black_white_list restart
1 Like
Dear Bruce,
great info! Works!!!
Thanks a lot!
Martin