<div dir="ltr"><div>Hi everyone,</div>I created the lxc container on my server (Ubuntu14.04) and installed iptables for using the container as router.<div>The rules I set for iptables in container work fine, but I'm unable to get iptables log.</div><div><br></div><div>I'm using rsyslog to save log message, and added this line to conf file for iptables log.</div><div> kern.* /var/log/kern.log</div><div>However there is still no iptables log, either in host machine or the container.</div><div><br></div><div>It seems normal kernel log is logged properly, because I can see kernel's error message log in kern.log.</div><div><br></div><div>I heard /dev/kmsg is created as symlink to /dev/console as default in lxc container, so I disabled this option but it doesn't work.</div><div>How can I get iptables log?</div></div>