I need help in blocking some users on the LAN using mac addresses BUT allow email access on ports 110 and 25. How can I do this?
You can add first rules to accept tcp,udp traffic on port 110,25:
/ip firewall filter add chain=forward src-mac-address=D4:CA:6D:99:76:CF port=110,25 action=accept protocol=tcp
/ip firewall filter add chain=forward src-mac-address=D4:CA:6D:99:76:CF port=110,25 action=accept protocol=udp
And then block all other traffic:
/ip firewall filter add chain=forward src-mac-address=D4:CA:6D:99:76:CF action=drop
Just remember to place accept rules above drop rule
Thanks for replying. Lemme try will get back to you.
It worked. Thanks a million.