Monitoring if a firewall rule is in use
-
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
-
@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.
-
@gabacho4 Thanks,
year I noted that already, but with that I can't write any monitoring script for me with that :/
Cheers,