Created
May 22, 2013 20:36
-
-
Save jzazove/5630689 to your computer and use it in GitHub Desktop.
Port forwarding to 80 and 443 on a mac
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 ipfw -f flush | |
sudo ipfw add 1000 fwd 127.0.0.1,3000 tcp from any to me 80 | |
sudo ipfw add 2000 fwd 127.0.0.1,3131 tcp from any to me 443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment