Flint Asked: 2011-07-02 23:55:17 +0800 CST2011-07-02 23:55:17 +0800 CST 2011-07-02 23:55:17 +0800 CST Set alternate log file for iptables with syslog-ng 772 Does anyone know how to set an alternate logging file for iptables with syslog-ng on Ubuntu Server? ubuntu logging iptables syslog-ng 1 Answers Voted Best Answer Vladimir Blaskov 2011-07-03T00:25:44+08:002011-07-03T00:25:44+08:00 Basically, you have to use some log prefix in iptables with the --log-prefix option and match against that prefix in syslog-ng. Here's a link with more information and examples: http://www.masquerade.cz/en/logovani-iptables-trizeni-logu/
Basically, you have to use some log prefix in iptables with the --log-prefix option and match against that prefix in syslog-ng.
Here's a link with more information and examples: http://www.masquerade.cz/en/logovani-iptables-trizeni-logu/