update rules

Ali Faiez Taha aftaha at cirp.usp.br
Fri May 6 13:58:22 UTC 2011


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.



More information about the freebsd-pf mailing list