In ufw is there any way to disable logging for a particular rule?
Posted
by
thomasrutter
on Server Fault
See other posts from Server Fault
or by thomasrutter
Published on 2012-11-30T05:48:30Z
Indexed on
2012/12/10
5:08 UTC
Read the original article
Hit count: 438
I am using UFW with a default logging policy of "low".
I would like to keep this logging on for the default deny action, but disable it for a particular IP address only. So I'd like to create one particular new rule that doesn't have logging.
Is there a way to achieve this?
I have a rather uncomplicated ufw setup so far, like this:
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing)
New profiles: skip
To Action From
-- ------ ----
22/tcp LIMIT Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
22/tcp ALLOW Anywhere (v6)
80/tcp ALLOW Anywhere (v6)
443/tcp ALLOW Anywhere (v6)
© Server Fault or respective owner