Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 May 2011 10:39:20 -0300
From:      Ali Faiez Taha <aftaha@cirp.usp.br>
To:        freebsd-pf@freebsd.org
Subject:   update rules
Message-ID:  <4DC3FA08.6020700@cirp.usp.br>

next in thread | raw e-mail | index | archive | help

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DC3FA08.6020700>