Vagrant Port Forwarding (8080 -> 80, 8443 -> 443) with
pf on Mavericks/Yosemite
This guide is a fork from this gist.
Since Mavericks stopped using the deprecated
ipfw (as of Mountain Lion), we'll be using
pf to allow port forwarding.
1. Create the anchor file
Create an anchor file under
/etc/pf.anchors/com.vagrant with your redirection rule like:
important note the trailing whitespace is nessesary