Joined December 2016
·

yatsinaba

Posted to Forward Port 80 to Port 3000 over 1 year ago

simple answer is:

echo "
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 3000
" | sudo pfctl -ef -

long - read this post:
https://salferrarello.com/mac-pfctl-port-forwarding/

Achievements
1 Karma
0 Total ProTip Views