树莓派(Debian)系统开启iptables的raw表实现日志输出,debianiptables
树莓派(Debian)系统开启iptables的raw表实现日志输出,debianiptables
说明:可能Debian默认不开启iptables的raw表,所以无法通过其实现日志跟踪。
日志跟踪:http://www.cnblogs.com/EasonJim/p/8413563.html
解决方法:
modprobe ipt_LOG modprobe nf_log_ipv4 sysctl net.netfilter.nf_log.2=nf_log_ipv4
查看日志:/var/log/syslog或者/var/log/kern.log或者/var/log/messages
参考:
https://serverfault.com/questions/385937/how-to-enable-iptables-trace-target-on-debian-squeeze-6/529854
==>如有问题,请联系我:easonjim#163.com,或者下方发表评论。<==
评论暂时关闭