Log nftables: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Log kernel message like nftables or iptables to a different log. Sample: <br> /etc/rsyslog.conf ############### #### RULES #### ############### # # First some standard...") |
(No difference)
|
Revision as of 22:04, 13 April 2022
Log kernel message like nftables or iptables to a different log.
Sample:
/etc/rsyslog.conf
############### #### RULES #### ############### # # First some standard log files. Log by facility. # :msg,regex,"IN=.*OUT=.*SRC=.*DST=" -/var/log/firewall.log & stop