johnthethird
7/21/2016 - 10:47 PM

Forward port 80 to a local Rails app on port 3000

Forward port 80 to a local Rails app on port 3000

echo "rdr pass proto tcp from any to any port {80,3000} -> 127.0.0.1 port 3000" | sudo pfctl -a "com.apple/250.ApplicationFirewall" -Ef -