Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Confused on configuring firewall rules

    General pfSense Questions
    4
    5
    418
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      klubar last edited by

      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

      1 Reply Last reply Reply Quote 0
      • N
        Nullity last edited by

        @klubar:

        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.

        Please correct any obvious misinformation in my posts.
        -Not a professional; an arrogant ignoramous.

        1 Reply Last reply Reply Quote 0
        • K
          klubar last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • H
            Harvy66 last edited by

            @klubar:

            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.

            1 Reply Last reply Reply Quote 0
            • johnpoz
              johnpoz LAYER 8 Global Moderator last edited by

              "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?


              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

              1 Reply Last reply Reply Quote 0
              • First post
                Last post