On Wed, Aug 14, 2002 at 10:38:01PM -0700, Jason Williams wrote:

> Here it is. I edited it some, but I still get a error on the line where the
> nat rules are:
> 
> nat on $ext_if from 192.168.1.0/24 to any -> $ext_if

You need to actually define ext_if inside nat.conf to use it, the
definition from pf.conf does not apply to nat.conf.

In -current, nat.conf is merged into pf.conf (there's only a single file
pf.conf), so a single macro definition can be used in both filter and
translation rules.

Daniel

Reply via email to