Created
May 18, 2014 22:25
-
-
Save rjmoggach/b2ebb931c2c7da1489f3 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 sysctl -w net.inet.ip.forwarding=1 | |
$ sudo natd -interface en1 | |
$ sudo ipfw add divert natd ip from any to any via en1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment