OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: aimdev on December 30, 2019, 07:21:40 pm

Title: Firewall, Automatically generated rules logging disable.
Post by: aimdev on December 30, 2019, 07:21:40 pm
Hi
Trying to debug my firewall, and I cannot disable via the gui the automatically generated rules logging.
This is making my debugging quite difficult.
Any advice constructive would be appreciated.
Thanks
Title: Re: Firewall, Automatically generated rules logging disable.
Post by: rabievdm on January 01, 2020, 04:07:57 pm
Hi,

I'm not 100% sure that is what you are looking for, but go to System>Settings>Logging and then there is a section for logging default Blocks, is this what you are looking for? The default is to log any default blocks.

 Log Firewall Default Blocks:
    Log packets matched from the default block rules put in the ruleset
   Log packets matched from the default pass rules put in the ruleset
   Log packets blocked by 'Block Bogon Networks' rules
   Log packets blocked by 'Block Private Networks' rules
Title: Re: Firewall, Automatically generated rules logging disable.
Post by: aimdev on January 01, 2020, 04:59:42 pm
Hi

Yes I think that is what I require, still testing.
However, as user defined rule logging can be disabled within the Firewall Section by toggling the i option, why not the automatic pre-defined rules?

Hiding the option within the System area seems to be inconsistent and illogical.

Thanks for your help.
Title: Re: Firewall, Automatically generated rules logging disable.
Post by: rabievdm on January 01, 2020, 07:46:11 pm
Kinda agree :)

@Devs, I see some automatic rules have a magnifying glass next to the rule. How about having one next to the automatic deny rules to take you to the logging options?