Created
August 20, 2015 16:04
-
-
Save zikosw/7451b4227d31408779e8 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
| sudo iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE | |
| sudo iptables -A FORWARD -i eth1 -o eth0 -m state -–state RELATED,ESTABLISHED -j ACCEPT | |
| sudo iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment