Is it possible to add iptables logs in /var/log/messages
Posted: 03 Oct 2014, 05:54
Hi all,
I am trying to find a way to add logs (iptables -A INPUT -J LOG) at the end of the default INPUT, so when a rule is not matched, it shows up in /var/log/messages (centos).
Anyone know how to do that ?
Thank you
--
Never mind, I found out and it is working now.
I am trying to find a way to add logs (iptables -A INPUT -J LOG) at the end of the default INPUT, so when a rule is not matched, it shows up in /var/log/messages (centos).
Anyone know how to do that ?
Thank you
--
Never mind, I found out and it is working now.