Page 1 of 1

Firewall Logging Elsewhere?

Posted: 06 Sep 2007, 02:36
by bradandersen
Hello,

How can I get the firewall BLOCKED messages to log to /var/log/firewall instead of /var/log/messages? And how do I add that file to log rotation? Is there a way to specify the log file or the Syslog level and then modify /etc/syslog.conf.

Thanks,
Brad

Posted: 13 Sep 2007, 10:56
by chirpy
There's a SYSLOG option in csf.conf to log to syslog. It's then a matter of having syslog redirect to a specific log file. Check man syslog.conf