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

    Ping rules, put it at the bottom or at the top of the rules list ?

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 3 Posters 670 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.
    • E
      Elrick75
      last edited by Elrick75

      Hi,

      When I have a connection issue, my internet provider needs to make troubleshooting with ping.

      I have created a rule for this purpose, but I don't know if I should put it at the bottom or at the top of the rules list ? what is your opinion please?

      104a6eaa-1499-4bc6-a3be-0fe8b168c854-image.png

      Best Regards.

      V johnpozJ 2 Replies Last reply Reply Quote 0
      • V
        viragomann @Elrick75
        last edited by

        @elrick75
        That doesn't matter. It want have any impact as long as your rules in an interface rule set don't match to the same traffic.

        So it's okay, when the rule is on the bottom.

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

          @elrick75 said in Ping rules, put it at the bottom or at the top of the rules list ?:

          but I don't know if I should put it at the bottom or at the top of the rules list

          Rules are evaluated top down, first rule to trigger wins, no other rules are evaluated. So as @viragomann was saying as long as your rules don't have anything that conflicts say a block or a policy route that would trigger on your traffic it doesn't really matter.

          Simple thing to do when you add a rule is walk down the rules from the top, will anything trigger that would do something with my traffic I don't want.. For example with ping, say if you wanted to allow IP xyz to ping but no other devices to ping, and you purpose put a block all icmp rule above your allow specific icmp rule. Then your specific icmp rule would never be seen, it would need to go above your block all icmp rule.

          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.8, 24.11

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