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

    Just confirming IPv4+IPv6 is same as a separate rule for each

    Firewalling
    2
    3
    1.1k
    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.
    • T
      travis01
      last edited by

      Hello,

      The answer to this question might seem obvious but I'm asking because of the way a new install is setup. I'm new to pfsense and I noticed that on a fresh install, the default LAN has separate pass rules for IPv4 and IPv6 where the only thing different is the Address Family.

      Is creating a single rule with Address Family "IPv4+IPv6" just as effective?

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

        Depends on what you mean by effective ;)

        If you want to log say ipv4 and not ipv6 than single rule wouldn't be helpful…

        If your ok with the rule details being the same for ipv4 and ipv6 you should be fine.  If you need to create a rule specific for one or the other would be why you would want/need to split them up.  Protocols like icmp and icmp6 are different so those sorts of rules need to be split.

        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
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • T
          travis01
          last edited by

          That cleared it up. For the use case I'm dealing with the rules are the same for IPv4 and IPv6 and I'm trying to make sure the firewall rule allows both without having to have separate rules. Thanks johnpoz.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.