Skip to content

Instantly share code, notes, and snippets.

@lmars
Created May 14, 2015 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lmars/a9b6115f9ff7cbae54ad to your computer and use it in GitHub Desktop.
Save lmars/a9b6115f9ff7cbae54ad to your computer and use it in GitHub Desktop.
IP Tables Debug
# log ICMP packets
sudo iptables -t raw -A OUTPUT -p icmp -j TRACE
sudo iptables -t raw -A PREROUTING -p icmp -j TRACE
sudo modprobe ipt_LOG
# in the container
ping -c 1 8.8.8.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment