iptables logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I am having below 3 rules for Logging with iptables . They are INPUT,FORWARD and OUTPUT chains.

#Log INPUT chain
iptables -A INPUT -j LOG --log-level 7 --log-prefix "INPUT: "

#Log FORWARD chain
iptables -A FORWARD -j LOG --log-level 7 --log-prefix "FORWARD: "

#Log OUTPUT chain
iptables -A OUTPUT -j LOG --log-level 7 --log-prefix "OUTPUT: "

In addition to that, I want to have logging for POSTROUTING,PREROUTING and mangle.

What are the rules for logging POSTROUTING,PREROUTING and mangle.

Help needed.



--
Thank you
Indunil Jayasooriya
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux