Skip to content

Instantly share code, notes, and snippets.

@magickatt
Last active December 18, 2017 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magickatt/d7951e174d9a2274b2d6 to your computer and use it in GitHub Desktop.
Save magickatt/d7951e174d9a2274b2d6 to your computer and use it in GitHub Desktop.
# /etc/pf.anchors/vagrant.apache.forwarding
rdr pass on lo0 inet proto tcp from any to 127.0.0.1 port 80 -> 127.0.0.1 port 8080
rdr pass on lo0 inet proto tcp from any to 127.0.0.1 port 443 -> 127.0.0.1 port 8443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment