Skip to content

Instantly share code, notes, and snippets.

@rshsmi
Created July 25, 2016 16:29
Show Gist options
  • Save rshsmi/635e6ad12c4cc17232c8d690912a70ca to your computer and use it in GitHub Desktop.
Save rshsmi/635e6ad12c4cc17232c8d690912a70ca to your computer and use it in GitHub Desktop.
WARNING: IPv4 forwarding
docker run mysql -p 3306:3306 -d
WARNING: IPv4 forwarding is disabled. Networking will not work.
# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 0
# sysctl -w net.ipv4.ip_forward=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment