@mzeid said in need help: pfBlockerNG with L3 switch with multiple subnets on LAN:
everything was working fine, but pfBlockerNG is only working with LAN subnet
Glad you got it sorted, but this points to design problem to be honest. You should not connect downstream router via "lan" if there are other devices on the lan. Downstream routers should be connected via a transit network (no hosts) or you can run into an issue with asymmetrical traffic flow. Unless you do host routing on the devices on the lan network. Or you downstream router is natting, etc.
Unless none of the devices on the lan never talk to downstream devices.
[image: 1676544824693-as.jpg]
Downstream sends Syn to client on the lan network, the device sends it syn,ack to its default gateway because it has no route to this network. Pfsense never saw the syn, so there is no state.. And traffic is denied.
This is a better setup when you have a downstream router
[image: 1676545013221-setup.jpg]
Maybe devices on lan and your downstream never talk to each other? But whenever you connect routers together, it should be a transit network (no hosts on it only routers) or you can have issue, especially when a stateful firewall is doing the routing.