I have two subnets in my mikrotik router: Network 1 : 192.168.1.0/24 and Network 2:192.168.5.0/24
I want to allow Network1 to access Network2 , but to deny Network2 access Network1 !!!
By using the rule : /ip firewall filter chain=prerouting src-address=192.168.5.0/24 dst-address=192.168.1.0/24 action=drop
It blocks two networks accessing each-other.
Is there any solution that allows one network to access another one but denies the second one to access the first network ???
Thank you!
First rule makes the difference. If allowed connection is established from Network1 to Network2, connection-state=established,related makes sure that all reply packets from Network2 to Network1 are also allowed, while new connections from Network2 to Network1 are still blocked.