Navigation

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

    Confused on configuring firewall rules

    General pfSense Questions
    4
    5
    415
    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.

        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?


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

              Products

              • Platform Overview
              • TNSR
              • pfSense
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy