Skip to content

Instantly share code, notes, and snippets.

John Ku kujohn

Block or report user

Report or block kujohn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kujohn
kujohn / portforwarding.md
Last active Jul 25, 2019
Port forwarding in Mavericks
View portforwarding.md

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.