OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: chemlud on November 19, 2018, 09:44:09 am

Title: Block private on WAN- How to stop logging?
Post by: chemlud on November 19, 2018, 09:44:09 am
Hello again!

Have a broadcast spammer with a private IP on my Wan address (with a public IP...) and would like to stop logging this, as it's flooding my firewall log.

Editing this rule is not possible in GUI, as you get redirected to the interface, where the only option is to turn on/off. Any other options from command line or editing the confing.xml? :-)

Many thanks in advance...
Title: Re: Block private on WAN- How to stop logging?
Post by: tofaz on November 19, 2018, 02:59:09 pm
Hi chemlud,

In order to workaround this, I would disable the default rule and create manually a new one with the log checkbox disabled.
Title: Re: Block private on WAN- How to stop logging?
Post by: chemlud on November 19, 2018, 03:34:19 pm
Hi 2fun, yeah thought about this option, too. But wanted to hear first if there's a "simple" option ;-)
Title: Re: Block private on WAN- How to stop logging?
Post by: franco on November 20, 2018, 07:10:24 am
There's "Log packets blocked by 'Block Private Networks' rules" under System: Settings: Logging? :)


Cheers,
Franco
Title: Re: Block private on WAN- How to stop logging?
Post by: chemlud on November 20, 2018, 08:14:44 am
OMG, didn't think it's THAT easy!