2015-03-17 iptables 日志单独管理
vim /etc/rsyslog.conf
# Don‘t log private authentication messages!
*.info;mail.none;authpriv.none;cron.none;kern.none /var/log/messages
# Save iptables messages also to iptables.log
kern.* /var/log/iptables.log
时间: 2024-10-12 18:08:14