Advertisement
leathan

port forward 80 Mac & npm/node/nvm install

Jun 29th, 2017
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. https://github.com/creationix/nvm/blob/master/README.md
  2.  
  3. echo "rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080" | sudo pfctl -ef -
  4.  
  5.  
  6. echo -e "rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 4343\nrdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080" | sudo pfctl -ef -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement