update rules
Виталий Владимирович
artemrts at ukr.net
Fri May 6 16:58:29 UTC 2011
--- Original Message ---
From: "Ali Faiez Taha" <aftaha at cirp.usp.br>
To: freebsd-pf at freebsd.org
Date: 6 May 2011, 16:39:20
Subject: Re: update rules
> I am trying to set up a PF in OpenBSD 4.9 and using old rules from OpenBSD 3.9
>
> There are some SYNTAX ERRORS :
>
> no rdr on $ext_if inet proto tcp from <whitelist> to any
>
> rdr on $ext_if inet proto tcp from <spamd> to any port smtp -> 127.0.0.1 port spamd
>
> rdr on $ext_if inet proto tcp from !<spamd-white> to any port smtp -> 127.0.0.1 port spamd
>
> rdr on $ext_if inet proto tcp from any to any port 21 -> $ftp_server port 21
>
> pass in on $ext_if route-to lo0 inet proto tcp from any to 127.0.0.1 port spamd
>
> I am new on PF and need some help to solve this problem.
> Some book to understand the changes in PF ?
>
> Thanks a lot.
You should check new features in pf on the official OpenBSD website
http://openbsd.org/39.html#new
http://openbsd.org/40.html#new
http://openbsd.org/41.html#new
......
More information about the freebsd-pf
mailing list