There's more...
Although this recipe demonstrated how to configure a basic static route, we glossed over a rather important detail involving asymmetric traffic. Suppose there is a node on the LAN network with an IP address of 192.168.1.3.
Assume this node wants to establish a session with a node on the DMZ network with an IP address of 192.168.2.3. So far, so good: the LAN default gateway is 192.168.1.1, and pfSense uses our newly created static route to send the packet to the gateway at 192.168.1.2, ensuring that the packet reaches its destination on the 192.168.2.0/24 network. An entry is added to the state table.
The return traffic is a different story. Return traffic will ultimately pass through the DMZ's gateway at 192.168.1.2, and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access