Skip to content

Instantly share code, notes, and snippets.

@jzazove
Created May 22, 2013 20:36
Show Gist options
  • Save jzazove/5630689 to your computer and use it in GitHub Desktop.
Save jzazove/5630689 to your computer and use it in GitHub Desktop.
Port forwarding to 80 and 443 on a mac
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