Skip to content

Instantly share code, notes, and snippets.

View chasegenie's full-sized avatar

Chase Vecchio chasegenie

View GitHub Profile
@chasegenie
chasegenie / portforwarding.md
Last active August 29, 2015 14:07 — forked from kujohn/portforwarding.md
Fake domains for Vagrant VMs

Port Forwarding in Mavericks


Since Mavericks stopped using the deprecated ipfw (as of Mountain Lion), we'll be using pf to allow port forwarding.

####1. anchor file Create an anchor file under /etc/pf.anchors/<anchor file> (vagrant.anchor for example) with your redirection rule like: