0

Does anyone know how to set an alternate logging file for iptables with syslog-ng on Ubuntu Server?

Flint
  • 631
  • 5
  • 10
  • 18

1 Answers1

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