[pf4freebsd] Re: pf and spamd

sam samwun at hgdbroadband.com
Wed Sep 15 21:13:51 PDT 2004


Jett Tayer wrote:

> Hi Daniel,
>
> i got it working last week by replacing the rdr and pass lines with
> rdr inet proto tcp from <spamd> to $ext_if port smtp -> $ext_if port 8025
> pass in on lo0 inet proto tcp from <spamd> to $ext_if port 8025
>
> works like charm....
>
> thanks
> /Jett
>
>
>
> On Aug 29, 2004, at 4:19 AM, Daniel Hartmeier wrote:
>
>> On Sat, Aug 21, 2004 at 09:10:30PM +0800, Jett Tayer wrote:
>>
>>> # spamd-setup puts addresses to be redirected into table <spamd>.
>>> table <spamd> persist
>>> no rdr on { lo0 } from any to any
>>> rdr inet proto tcp from <spamd> to any port smtp -> 127.0.0.1 port 8025
>>> pass in on lo0 inet proto tcp from <spamd> to 127.0.0.1 port 8025
>>
>
Is this the identical setup as in OpenBSD?

>
>
>





More information about the freebsd-pf mailing list