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

    Monitoring if a firewall rule is in use

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 519 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.
    • Gamienator 0G
      Gamienator 0
      last edited by

      Hello everyone,

      here at my home I got a Dual-WAN Setup. Together with some firewall rules I let my gaming traffic over my second WAN connection. Now I ask my self: Is there a possibility to check via CLI or Telegraf if a firewall Rule is in use?

      I would like to monitor if the second internet connection gets traffic when I'm gaming. Anything CLI related is enough for me to write a little python script.

      I appreciate every hint and help!

      Cheers,

      Gamie

      G 1 Reply Last reply Reply Quote 0
      • G
        gabacho4 Rebel Alliance @Gamienator 0
        last edited by

        @gamienator-0 I’m not sure about cli but the gui will show you the state count for any firewall rule. So you should be able see if there are states on a given rule and if you click on that it will show you the interface, source, destination, protocol and port.

        Gamienator 0G 1 Reply Last reply Reply Quote 0
        • Gamienator 0G
          Gamienator 0 @gabacho4
          last edited by

          @gabacho4 Thanks,

          year I noted that already, but with that I can't write any monitoring script for me with that :/

          Cheers,

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