Need a transparent firewall on two bridged interfaces

DSL MODEM → Mikrotik → Computer with public IP

Using a Mikrotik RB450. Port 5 and Port 6 are bridged.

I plug the DSL modem into Port 6

I plug my computer into Port 5. I assign my computer a public IP from the ISP and Internet works fine.

I need to block certain ports, such as 25, 21, and a few more.

I add the firewall rules to Drop the ports but it doesn’t work! How can I make a transparent firewall with bridged ports?

Try setting use-ip-firewall=yes in bridge settings.

/interface bridge settings set use-ip-firewall=yes