Monate: Mai 2013

force iptables to log into own logfile

Debian

as Andrea described there is an easy way to force iptables to log into its own logfile. I’d like to sum it up in this post. you need to change all your log-prefixes to have a unique keyword, e.g. netfilter as I do in the following example. afterwards just add some filter conditions for rsyslogd. place a file called 10-iptables.conf into /etc/rsyslog.d/ with the following content. both lines match on every log message containing netfilter, […]