Skip to content

Instantly share code, notes, and snippets.

Created September 24, 2015 14:56
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 anonymous/b36c68b54997f6fd6b6e to your computer and use it in GitHub Desktop.
Save anonymous/b36c68b54997f6fd6b6e to your computer and use it in GitHub Desktop.
template
docker_r3:
iptables.append:
- table: filter
- chain: FORWARD
- in-interface: docker0
- out-interface: '! docker0'
- jump: ACCEPT
- save: True
should be: -A FORWARD -i docker0 ! -o docker0 -j ACCEPT
and is -A FORWARD -i docker0 ! -o dcker0 -j ACCEPT (o is removed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment