NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Load balancing outgoing traffic



Hi Stefano,

On Tue, Apr 12, 2011 at 6:32 PM, Stefano Marinelli
<postnet%dragas.dyndns.org@localhost> wrote:
> Hello everybody,
>...
> Then I found this link: http://www.openbsd.org/faq/pf/pools.html and found 
> exactly what I was looking for. I copied and pasted the configuration they 
> suggest (modifying the interfaces) into the pf.conf but when reloading pf, i 
> get this error message:
> /etc/pf.conf:9: syntax error
>
> the line number nine is this:
> match out on $ext_if1 from $lan_net nat-to ($ext_if1)
>
> so it seems NetBSD's pf is having troubles with it.
>

NetBSD has older version of pf. Syntax for pf has changed (OpenBSD 4.6
-> 4.7) on nat/rdr/binat rules in favor of using match keyword. Here
is the upgrade guide that describes the change and solution:

http://www.openbsd.org/faq/upgrade47.html#newPFnat



All best


Home | Main Index | Thread Index | Old Index