Created
May 7, 2015 11:10
-
-
Save morsdyce/b5149a54ae8e9bcadfa2 to your computer and use it in GitHub Desktop.
forward port on OSX yosemite #osx #firewall #forwarding
This file contains 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
echo " | |
rdr pass inet proto tcp from any to any port 25 -> 127.0.0.1 port 1025 | |
" | sudo pfctl -ef - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment