@vettalex said in Problems with rules between networks:
Unfortunately on these devices, it is not possible to set a gateway :(
Here is an example - but you should create another interface/vlan for devices on this 192.168.201.0/24
So for example, I have some IP cameras on a 10.1.1.0/24 network behind my NVR, they all point to the NVR as their gateway 10.1.1.1, but I want to get to these cameras directly from my networks, so I can view the video via rtsp..
So I created a interface on pfsense 10.1.1.253/24 and put this interface into that L2 network... Now when I want to access a camera at 10.1.1.X pfsense knows how to get there, but since since the cameras have no clue how to get to my 192.168.9.0/24 network other than sending to their gateway, the nvr at 10.1.1.1 it wouldn't work.. Same goes if they have no gateway..
So you create an outbound nat on pfsense that says hey when sending traffic to 10.1.1 make it look its coming from your 10.1.1.253 address, so the cameras just think some other device on 10.1.1 is talking to them and talk directly back to it.
outboundnats.jpg