OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Block private on WAN- How to stop logging?
« previous next »
  • Print
Pages: [1]

Author Topic: Block private on WAN- How to stop logging?  (Read 2412 times)

chemlud

  • Hero Member
  • *****
  • Posts: 2054
  • Karma: 94
    • View Profile
Block private on WAN- How to stop logging?
« 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...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

tofaz

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 3
    • View Profile
Re: Block private on WAN- How to stop logging?
« Reply #1 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.
« Last Edit: November 19, 2018, 04:00:52 pm by 2fun0 »
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2054
  • Karma: 94
    • View Profile
Re: Block private on WAN- How to stop logging?
« Reply #2 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 ;-)
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1177
    • View Profile
Re: Block private on WAN- How to stop logging?
« Reply #3 on: November 20, 2018, 07:10:24 am »
There's "Log packets blocked by 'Block Private Networks' rules" under System: Settings: Logging? :)


Cheers,
Franco
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2054
  • Karma: 94
    • View Profile
Re: Block private on WAN- How to stop logging?
« Reply #4 on: November 20, 2018, 08:14:44 am »
OMG, didn't think it's THAT easy!
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Block private on WAN- How to stop logging?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2