Block Port

I have 3 lan block

192.168.0.1/23
192.168.100.0/24
192.168.200.0/24

I want to drop all connections to tcp port 445.139

can someone help me

from where to where?

Is all these blocks on the same bridge interface/switch group?

you do all these under ip - firewall - filter rules,
but as @normis said, you need to be clear yourself on “from where to where”
(if using web interface)
ip - firewall - filter rules, creating a rule would look something like:

  • chain: forward
  • protocol: tcp if that is your case
  • destination port:
    and then include either destination address, source address, dst interface source intreface, etc (again as @normis said), depending on what you want.

finally, action would be drop
dont forget that rules are read form top to bottom, in case you have something above preventing your rule form being read, drag and drop to an upper position.