On Thu, 19 Sep 2024, fxkl4...@protonmail.com wrote:

in my iptables i have    tcp LOG flags 0 level 4 prefix "REJECT: "
this does what i want but how to direct the logging
it gets written to multiple file in /var/log
syslog, messages, kern, debug
can i restrict this to a single file


*.*;auth,authpriv.none;kern.none                -/var/log/syslog

Add kern.none to the ones you don't want kernel messages in.

That will, of course stop all logging, not just iptables.


Reply via email to