View Single Post
  #1   (View Single Post)  
Old 13th January 2012
bsdperson bsdperson is offline
Port Guard
 
Join Date: May 2008
Posts: 37
Question FreeBSD 9 + pf + nat

I previously had a line in pf.conf which read:

Code:
nat on $ext_if from $int_if:network to any -> ($ext_if)
That doesn't work any more and according to the dox I need a nat-to in the rule set. My current attempt is:

Code:
pass out on $ext_if from any to any nat-to ($ext_if)
I tried lots of different variants but they all give me syntax error. What do I do now?
Reply With Quote