I have created a iptables rule ot do some logging like this:
iptables -A -m limit -j LOG --log-level info --log-prefix "Firewall:"
When some traffic present, the above rule will make a log in /var/log/message.
My question is:
How can I set the logging message being written into another file?
Thanks.
iptables -A -m limit -j LOG --log-level info --log-prefix "Firewall:"
When some traffic present, the above rule will make a log in /var/log/message.
My question is:
How can I set the logging message being written into another file?
Thanks.