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

    How to write single rule for mutiple destinations?

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 2 Posters 4.8k 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.
    • C
      cs84170
      last edited by

      Dear All

      I am having a pfsense firewall with 1 LAN and 1 WAN.

      I want to write a single rule for one LAN IP( 172.16.206.192) for multiple destinations on various ports.

      Is this possible in pfsense firewall ? or should i write individual rules for every destanation on ports.

      Please suggest..

      Thanks
      Madhu

      1 Reply Last reply Reply Quote 0
      • AhnHELA
        AhnHEL
        last edited by

        Create an Alias for your Destinations and another Alias for your Ports and use those Aliases in your single rule.

        Its in the Web GUI under Firewall/Aliases

        AhnHEL (Angel)

        1 Reply Last reply Reply Quote 0
        • C
          cs84170
          last edited by

          I am new to this Forum.
          Regret the inconvenience occured.

          1 Reply Last reply Reply Quote 0
          • C
            cs84170
            last edited by

            Hello

            can someone can help in this regard..

            I want to write a rule like below in pfsense firewall :

            source                Destination                ports                            Default Gateway

            172.16.10.10      207.22.100.101        3027 , 4589, 554, 963        Our gateway IP

            What i am going to ask is ,

            1. can i write a rule with 3 or more ports in different range ?

            2. can i add sources or destinations in already written rule ?

            thank in advance.

            1 Reply Last reply Reply Quote 0
            • AhnHELA
              AhnHEL
              last edited by

              PM Sent

              AhnHEL (Angel)

              1 Reply Last reply Reply Quote 0
              • C
                cs84170
                last edited by

                Thanks ohnel….

                It worked fine.

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