Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Rsyslog configuration for IPTables-Logs
# Filter IP-Tables LOGs
# and discard the line afterwards
:msg, contains, "iptables" -/var/log/iptables.log
& ~
# Filter IP6-Tables LOGs
# and discard the line afterwards
:msg, contains, "ip6tables" -/var/log/ip6tables.log
& ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.