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.
Create an anchor file under
/etc/pf.anchors/com.vagrant with your redirection rule like:
rdr pass on lo0 inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080