I have problems to get my IPTables firewall (configured through the Webmin module "Linux Firewall") to log to /var/log/syslog (or to any other file). Perhaps someone could give me some hints.
I am using Webmin 1.400 and Debian 4 Etch. Both of them got the latest updates.
The IpTables firewall has several working rules in it, and log rules have the additional parameters
--log-prefix "DROP XXX-Packet: " --log-level debug
!> I can see the log output from the firewall in Webmin>System>System logs>"Output from dmesg"
!> But I can not see it any of the other log files. I would like Iptables to log to the file /var/log/syslog (or /var/log/iptables).
I have changed nothing in the System Logs menu or in /etc/syslog.conf.
But I can see the following:
Log dest: File /var/log/bandwidth
Active? Yes
Message selected: kern.debug
According to what I have read so far, this rule should put the firewall logs to /var/log/bandwidth. But this file is empty.
So how can I let iptables put its log to a certain file and not only to dmesg?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I have problems to get my IPTables firewall (configured through the Webmin module "Linux Firewall") to log to /var/log/syslog (or to any other file). Perhaps someone could give me some hints.
I am using Webmin 1.400 and Debian 4 Etch. Both of them got the latest updates.
The IpTables firewall has several working rules in it, and log rules have the additional parameters
--log-prefix "DROP XXX-Packet: " --log-level debug
!> I can see the log output from the firewall in Webmin>System>System logs>"Output from dmesg"
!> But I can not see it any of the other log files. I would like Iptables to log to the file /var/log/syslog (or /var/log/iptables).
I have changed nothing in the System Logs menu or in /etc/syslog.conf.
But I can see the following:
Log dest: File /var/log/bandwidth
Active? Yes
Message selected: kern.debug
According to what I have read so far, this rule should put the firewall logs to /var/log/bandwidth. But this file is empty.
So how can I let iptables put its log to a certain file and not only to dmesg?