[CentOS] iptables logging - HELP

Wed Mar 7 10:09:23 UTC 2007
Indunil Jayasooriya <indunil75 at gmail.com>

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


-- 
Thank you
Indunil Jayasooriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070307/17ff5ae1/attachment-0004.html>