Skip to content

Instantly share code, notes, and snippets.


John Ku kujohn

View GitHub Profile
kujohn /
Last active Jul 7, 2020
Port forwarding in Mavericks

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> with your redirection rule like:

You can’t perform that action at this time.