Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Broke in 10.7.4?

This worked fine for me until I finally caved and left Software Update install 10.7.4.


The pf.anchors/com.apple file changed during the update, so I made the corresponding edits again. (There's a new scrub-anchor rule as well.)


However, NAT's not working.


pf logging looks like it might offer a clue, but I haven't wrapped my head around pf enough to get it enabled. Any recipe for getting that going?


Any other debug tips?

Mac OS X (10.7.4)

Posted on Jul 15, 2012 2:40 AM

Reply
Question marked as Best reply

Posted on Jul 21, 2012 5:51 PM

Turns out that loading seems broken. In the KB article, if you take the rules you're adding to exampleNATRules and place them up in /etc/pf.conf in the proper spot (after the nat-anchor and rdr-anchor rules), then it'll work again.

4 replies

Jul 22, 2012 1:48 PM in response to alexr

I found that this was not necessary on my machine. In fact, putting


nat on en3 from 192.168.2.1/24 to any -> (en3)

pass from {lo0, 192.168.2.1/24} to any keep state


at the end of /etc/pf.conf resulted in it not working and the following error showing up in Console.app:


7/22/12 1:28:00.036 PM com.apple.pfctl: /etc/pf.conf:25: Rules must be in order: options, normalization, queueing, translation, filtering

Broke in 10.7.4?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.