Skip to content

Instantly share code, notes, and snippets.

@dwilkins
Created April 17, 2016 21:45
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 dwilkins/1f4815e11469443abe36396beeef7130 to your computer and use it in GitHub Desktop.
Save dwilkins/1f4815e11469443abe36396beeef7130 to your computer and use it in GitHub Desktop.
Enable Forwarding and Masq on the host linux computer
sudo sysctl net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -j MASQUERADE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment