0

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

1 Answer 1

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/

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.