Skip to content

Instantly share code, notes, and snippets.

@pmorie
Created August 12, 2014 18:44
Show Gist options
  • Select an option

  • Save pmorie/cc050a8f0506348cba84 to your computer and use it in GitHub Desktop.

Select an option

Save pmorie/cc050a8f0506348cba84 to your computer and use it in GitHub Desktop.
sudo iptables -L -n -v
Chain INPUT (policy ACCEPT 113K packets, 11M bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- * docker0 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
0 0 ACCEPT all -- docker0 !docker0 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT all -- docker0 docker0 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT 110K packets, 10M bytes)
pkts bytes target prot opt in out source destination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment