Skip to content

Instantly share code, notes, and snippets.

@jacob-delgado
Created April 26, 2023 23:36
Show Gist options
  • Save jacob-delgado/6a03ae6ff3ef7ba8555d478495accc21 to your computer and use it in GitHub Desktop.
Save jacob-delgado/6a03ae6ff3ef7ba8555d478495accc21 to your computer and use it in GitHub Desktop.
sudo ip6tables -t nat -A POSTROUTING -s $(docker inspect network kind 2>/dev/null | jq -r '.[0].IPAM.Config[1].Subnet') ! -o docker0 -j MASQUERADE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment