Created
April 15, 2013 06:13
-
-
Save zenloner/5386049 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for vpn in /proc/sys/net/ipv4/conf/*; do echo 0 > $vpn/accept_redirects; echo 0 > $vpn/send_redirects; done | |
iptables --table nat --append POSTROUTING --jump MASQUERADE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment