Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How to clear interface rule counters
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to clear interface rule counters (Read 2644 times)
fsebera
Newbie
Posts: 38
Karma: 2
How to clear interface rule counters
«
on:
June 25, 2021, 07:39:35 pm »
Hi,
Is there a way to clear the Inspect hit counters on the interface firewall rules.
Firewall
Rules
LAN
Inspect
I see there is a way to reset session states (Firewall, Diag, States reset) but this is a production environment and definitely don't wanna perform that action.
Thanks
Frank
Logged
juere
Jr. Member
Posts: 91
Karma: 8
Re: How to clear interface rule counters
«
Reply #1 on:
June 26, 2021, 07:24:35 pm »
How about clicking Firewall -> Aliases -> Apply ?
According to the explanation found under Firewall -> Diagnostics -> States Reset this should leave the state tables intact and for me it does reset the inspect counters
Logged
fsebera
Newbie
Posts: 38
Karma: 2
Re: How to clear interface rule counters
«
Reply #2 on:
July 02, 2021, 04:52:04 pm »
Ok I have it figure out.
Firewall:
Rules:
LAN
(i) <----------- if you click on this icon, it will toggle the current logging state. On is (blue) or off is (gray). Then top right of screen "Apply" changes.
Remember if you make this change you may want to change (i) back to original setting.
Now all rule counters -- LAN and WAN -- will be reset to 0.
If you have a busy firewall, the counters should increase quickly.
Thanks
Frank
«
Last Edit: July 02, 2021, 04:54:05 pm by fsebera
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How to clear interface rule counters