Date: Fri, 06 May 2011 19:41:35 +0300 From: =?WINDOWS-1251?B?wujy4Ovo6SDC6+Dk6Ozo8O7i6Pc=?= <artemrts@ukr.net> To: "Ali Faiez Taha" <aftaha@cirp.usp.br> Cc: freebsd-pf@freebsd.org Subject: Re: update rules Message-ID: <E1QIO5v-000LlY-Rs@ffe10.ukr.net> In-Reply-To: <4DC3FA08.6020700@cirp.usp.br>
index | next in thread | previous in thread | raw e-mail
--- Original Message ---
From: "Ali Faiez Taha" <aftaha@cirp.usp.br>
To: freebsd-pf@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
......
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1QIO5v-000LlY-Rs>
