Page 1 of 1

Routing between Subnets

Posted: Sun Oct 03, 2021 2:56 am
by dfgjohnson
Hello, a newbie question I'm hoping someone can give me an answer to.

I have two subnets defined on separate interfaces, 192.168.10.0/24 on ether2 and 192.168.15.0/24 on ether3. I want all packets dropped from 192.168.15.0/24 to 192.168.10.0/24 but any traffic originating from 192.168.10.0/24 I want it to route successfully.

If I add this rule:
ip firewall filter add chain=forward src-address=192.168.15.0/24 dst-address=192.168.10.0/24 action=drop
then all traffic between subnets gets dropped and I suspect this is a result of the return path not being allowed.

Is what I'm trying to achieve possible, any assistance gratefully appreciated.

Thank you
David