How is it possible to enable packet forwarding in Mac OS X?

Google gives me tons of hints for Windows and Linux but not for OS X.

migrated from stackoverflow.com Feb 27 '10 at 9:42

This question came from our site for professional and enthusiast programmers.


You may enable packet forwarding by entering sudo sysctl -w net.inet.ip.forwarding=1 into the Terminal.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy