IP Tables Log - Ubuntu 14.04 - Webmin 1.710
Posted: 02 Oct 2014, 08:04
Hello, I got CFS running under Ubuntu 14.04 and webmin 1.710, but I am still having issues getting the view IPTables Log button to show the log. says "no log entries found". I did see and adjust the log files path for /var/log/syslog but still the same error.
I took a closer look at csf(dot)pl and found --log-prefix was set to add the word Firewall: and Knock: to the syslog. So i added a new my_iptables.conf to /etc/rsyslog.d that contains the lines
:msg,contains,"Firewall: " /var/log/iptables.log
:msg,contains,"Knock: " /var/log/iptables.log
after restarting rsyslog service i now have a /var/log/iptables.log that is being populated. I also adjusted the csf.conf and changed the iptables log location to this.
End result ... i'm still getting "no log entries found" from the view IPTables Log button on Webmin - CSF module.
I took a closer look at csf(dot)pl and found --log-prefix was set to add the word Firewall: and Knock: to the syslog. So i added a new my_iptables.conf to /etc/rsyslog.d that contains the lines
:msg,contains,"Firewall: " /var/log/iptables.log
:msg,contains,"Knock: " /var/log/iptables.log
after restarting rsyslog service i now have a /var/log/iptables.log that is being populated. I also adjusted the csf.conf and changed the iptables log location to this.
End result ... i'm still getting "no log entries found" from the view IPTables Log button on Webmin - CSF module.