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

    Apply rules to computer groups

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 1.3k Views
    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.
    • G
      grzmrc
      last edited by

      Hi all,
      sometimes I need to apply rule to a wide range of server/client. For example, now i have to open the LDAP port of 3 servers in the headquarter to all servers in the branch office. The branch office is 22, so by now I have to create at last 22 rules in the headquarter pfsense.
      Is it possible to create computer groups, so I can do the same task in only one rule?
      Allow ldap servergroup1 <> servergroup2

      1 Reply Last reply Reply Quote 0
      • E
        echoranger
        last edited by

        You could create an Alias (under Firewall, Aliases) that includes all 22 of those servers/PCs, then you only need to reference the name of the alias group in a firewall rule and it will apply to all of those servers.

        1 Reply Last reply Reply Quote 0
        • G
          grzmrc
          last edited by

          Really!?!?
          I love you

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