Does anyone know how to set an alternate logging file for iptables with syslog-ng on Ubuntu Server?
Asked
Active
Viewed 363 times
1 Answers
1
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/

Vladimir Blaskov
- 6,183
- 1
- 27
- 22