Hello
I want to add with script all the dhcp list to the firewall li I do with IP-BINDING (see script) how can I do it? THANKS!!
:foreach ITEM in=[/ip hotspot ip-binding find] do={
:local MAC [/ip hotspot ip-binding get $ITEM mac-address];
:local COMMENT [/ip hotspot ip-binding get $ITEM comment];
/ip firewall filter add chain=forward src-mac-address=$MAC action=drop disabled=yes protocol=tcp place-before=3 comment=$COMMENT
}