Skip to content

Instantly share code, notes, and snippets.

@jonaharagon
Created January 23, 2016 22:26
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 jonaharagon/d4e623f523998c7a1bf6 to your computer and use it in GitHub Desktop.
Save jonaharagon/d4e623f523998c7a1bf6 to your computer and use it in GitHub Desktop.
#!/bin/sh
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j SNAT --to-source 192.168.X.X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment