Skip to content

Instantly share code, notes, and snippets.

@divolgin
Created February 12, 2016 22:26
Show Gist options
  • Save divolgin/d7032e8c5195ad427e00 to your computer and use it in GitHub Desktop.
Save divolgin/d7032e8c5195ad427e00 to your computer and use it in GitHub Desktop.
$ sudo iptables -L -v
Chain INPUT (policy ACCEPT 85668 packets, 17M 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
1173K 62M DOCKER all -- any docker0 anywhere anywhere
1161K 60M ACCEPT all -- any docker0 anywhere anywhere ctstate RELATED,ESTABLISHED
576K 980M ACCEPT all -- docker0 !docker0 anywhere anywhere
0 0 ACCEPT all -- docker0 docker0 anywhere anywhere
Chain OUTPUT (policy ACCEPT 80278 packets, 46M bytes)
pkts bytes target prot opt in out source destination
Chain DOCKER (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.2 tcp dpt:mysql
5972 708K ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.5 tcp dpt:8005
263 24443 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.6 tcp dpt:8006
0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.7 tcp dpt:8002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment