IPTABLES – Log network traffic

Intend: Workaround when tcpdump tool not available. Issue: Tool tcpdump not available on the system troubleshooting. Notes: Log everything (depending on target chain): # iptables -I INPUT 1 -j LOG –log-prefix “#### Tmp logging ####” # iptalbes -I FORWARD 1 -j LOG –log-prefix “#### Tmp logging ####” # # iptables -I OUTPUT 1 -j LOG […]