Historically, I used ipfw from the command line to do port forwarding on my Mac. Unfortunately, as of Yosemite OS X 10.10 ipfw has been removed. (In all fairness, ipfw has been deprecated for some time but I continued using it because it was way easier than pfctl on the command line). Command Line pfctl pfctl seems to prefer configuration files to command line parameters, which I find frustrating.
![Mac pfctl Port Forwarding - Sal Ferrarello](https://cdn-ak-scissors.b.st-hatena.com/image/square/a267910436f2da1db82725fa444a886f9f3057b2/height=288;version=1;width=512/https%3A%2F%2Fsalferrarello.com%2Fwp-content%2Fuploads%2F2014%2F11%2Fmac-pfctl-port-forwarding.jpg)