Last active
September 9, 2015 18:05
-
-
Save vini-btc/1f14e716b89494b949f2 to your computer and use it in GitHub Desktop.
Mac OSX Port Forwading
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 ifconfig lo0 alias 10.0.0.1 && echo "rdr pass on lo0 inet proto tcp from any to 10.0.0.1 port 80 -> 127.0.0.1 port 3000" | sudo pfctl -ef - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment