Controlling traffic between two connected subnets

You'll need a rule that accept forwarding for packets with the connection state established or related (and also untracked to follow the defconf firewall) first, this rule should be placed above the other drop rules in the forward chain.

/ip firewall filter
add action=accept chain=forward connection-state=established,related,untracked

Communication is two-way. You want A to connect to B, but not B to A, so you instinctively added the forward drop rule from B to A. However, don't forget that when A connects to B, it would want to receive the answers that B send back to it too. If you immediately blocks all packets from B to A, then these answers will never arrive.

That's why you need the established,related rule placed in front. Its purpose is to catch those response packets that B sent back to A and allow them before the drop rules below block them.


Here you can find the MikroTik default firewall rules used on their home router, which is a sane and safe configuration:

Implement those rules (don't forget the interface lists, add ether3 and ether5 to LAN and ether1 to WAN), THEN add the

/ip firewall filter
add action=drop chain=forward dst-address=192.168.100.0/24 src-address=10.100.100.0/24

at the bottom to achieve what you need.