Confused on configuring firewall rules
-
I'm following the guidance in the pfSense book, and I'm a little confused on configuring firewall rules…
The interface field specifies the interface receiving traffic to be controlled by this rule.
The source field specifies the source IP address, subnet, or alias that will match this rule.
How could the source ever be anything outside of the interface range? For example, I'm setting a rule for my LAN interface (range 192.168.1.0-255), wouldn't the source have to be in that range? Why does the drop down for source include ranges for other interfaces?
thanks
-
I'm following the guidance in the pfSense book, and I'm a little confused on configuring firewall rules…
The interface field specifies the interface receiving traffic to be controlled by this rule.
The source field specifies the source IP address, subnet, or alias that will match this rule.
How could the source ever be anything outside of the interface range? For example, I'm setting a rule for my LAN interface (range 192.168.1.0-255), wouldn't the source have to be in that range? Why does the drop down for source include ranges for other interfaces?
thanks
You are referring to floating rules?
Stick to interface rules until you understand the intricacies of floating rules.
-
No, I'm referring to regular old interface (LAN, WAN) rules. I got that the Interface field specifies the interface receiving traffic to be controlled by this rule, .e.g LAN, but I'm confused on why the source field can be anything other than an address on that interface.
-
I'm confused on why the source field can be anything other than an address on that interface.
This is normal for routers. You can limit the source IP if you want. Not sure how this would interact with DHCP.
-
"but I'm confused on why the source field can be anything other than an address on that interface."
Your confused to why the drop down lists other pfsense interfaces? Or you don't understand how you could have downstream networks where this interface on pfsense is the transit network?
Have you tried programming dropdown lists to filter out all the other interfaces? When the dropdown is will be used by all the interfaces? ;) So you want it to not show you opt2 network, because your on opt1 interface?