vi /etc/syslog.conf
# iptables Log |
2 | kern.debug;kern.info /var/log/firewall |
iptables -I INPUT -j LOG --log-prefix '[IPTABLES DROP LOGS]:' --log-level debug
service syslog restart
转载于:https://blog.51cto.com/myunix/1095028
vi /etc/syslog.conf
# iptables Log |
2 | kern.debug;kern.info /var/log/firewall |
iptables -I INPUT -j LOG --log-prefix '[IPTABLES DROP LOGS]:' --log-level debug
service syslog restart
转载于:https://blog.51cto.com/myunix/1095028