Linux iptables LOG everything - Jesin's Blog
websistent.com › linux-iptables-log-everythingApr 28, 2011 · To log network activity in the NAT table execute the following commands for tracking activity in their respective chains. iptables -t nat -I PREROUTING 1 -j LOG. iptables -t nat -I POSTROUTING 1 -j LOG. iptables -t nat -I OUTPUT 1 -j LOG. These rules are not permanent a restart of the iptables service will flush them, to make them permanent ...