Created
August 6, 2013 06:03
-
-
Save pjan/6162393 to your computer and use it in GitHub Desktop.
Port redirection in OSX
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
# you have to run this after every reboot (route is not persistent) | |
# 2 lines added below; deduct if more needed... | |
sudo ipfw add 100 fwd 127.0.0.1,8080 tcp from any to me 80 | |
sudo ipfw add 101 fwd 127.0.0.1,8443 tcp from any to me 443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment