Skip to content

Instantly share code, notes, and snippets.

@jkullick
Last active June 27, 2018 04:29
Show Gist options
  • Save jkullick/6e7f765801d84dc2bfc5613949b62f4a to your computer and use it in GitHub Desktop.
Save jkullick/6e7f765801d84dc2bfc5613949b62f4a to your computer and use it in GitHub Desktop.
Allow Docker in UFW

/etc/default/ufw:

...
DEFAULT_FORWARD_POLICY="ACCEPT"
service ufw restart
ufw allow in on docker0
ufw allow out on docker0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment