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

    How create rule that uses a Destination IP of 179.142.X.X where X is any?

    Routing and Multi WAN
    2
    2
    303
    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.
    • xanaroX
      xanaro
      last edited by

      Looking at my rules on the Lan tab, I see I can set the Destination to Match "Network"

      The docs say: Network - Select this and enter a network and mask (10.99.0.0/16, aa:bb:cc:dd::0/64)
      https://doc.pfsense.org/index.php/Firewall_Rule_Basics

      However in their examble I am not sure I understand if that means it is going to match all IPS that start with 10.99. , or if it means something else. trying to read about network masks on google is only confusing me more.

      Can anyone help me out

      I want the rule to match when the destination IP is 179.142.X.X  where X can be any Number.  (traffic going from my local network out to the internet trying to reach 179.142.X.X )

      for that matter, I would also like to know how to do it when the  destination IP is 179.142.15.X  with X being any number.

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        179.142.X.X = 179.142.0.0/16
        179.142.15.X = 179.142.15.0/24

        If you're unsure use a CIDR calculator like http://www.subnet-calculator.com/cidr.php.

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