Comments on: iptables debugging https://backreference.org/2010/06/11/iptables-debugging/ Proudly uncool and out of fashion Tue, 29 May 2018 09:22:53 +0000 hourly 1 https://wordpress.org/?v=5.8.2 By: noname https://backreference.org/2010/06/11/iptables-debugging/#comment-25357 Tue, 29 May 2018 09:22:53 +0000 http://backreference.org/?p=1994#comment-25357 On 4.4.0 I had to do:

modprobe nf_log_ipv4
sysctl net.netfilter.nf_log.2=nf_log_ipv4

And if you get nothing in /var/log/kern.log, check if you have kernel logging enabled in syslog and if LOG_KERN facility exists.

]]>
By: Chris https://backreference.org/2010/06/11/iptables-debugging/#comment-25198 Thu, 28 May 2015 23:08:48 +0000 http://backreference.org/?p=1994#comment-25198 With Kernel 4.0.4, I had to use:

sysctl 'net.netfilter.nf_log.2=nf_log_ipv4

]]>
By: tudor https://backreference.org/2010/06/11/iptables-debugging/#comment-24995 Wed, 06 Nov 2013 11:33:16 +0000 http://backreference.org/?p=1994#comment-24995 Works after configure this:
sudo sysctl net.netfilter.nf_log.2=ipt_LOG

Thanks!

]]>
By: Yanis Guenane https://backreference.org/2010/06/11/iptables-debugging/#comment-24905 Thu, 30 May 2013 17:12:41 +0000 http://backreference.org/?p=1994#comment-24905 Thank you for this post. Really informative and actually straigh to the point. Exactly what I needed

]]>
By: Saibaba Telukunta https://backreference.org/2010/06/11/iptables-debugging/#comment-24705 Sun, 23 Oct 2011 12:19:47 +0000 http://backreference.org/?p=1994#comment-24705 You saved my day! Thank you.

]]>