Skip to content

Instantly share code, notes, and snippets.

@tonytan4ever
Created January 30, 2017 01:56
Show Gist options
  • Save tonytan4ever/d657984444a9f205cc4d510ffa4a3660 to your computer and use it in GitHub Desktop.
Save tonytan4ever/d657984444a9f205cc4d510ffa4a3660 to your computer and use it in GitHub Desktop.
Open iptables mapping
$ sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment