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

Re: problems with table



David Jobes wrote:

im trying to setup several table rules to filter in and outbound traffic
looked in the man page for pf.conf, but the rules did not work

table <bad_nets> persist { 208.231.174.135/32, 208.231.174.0/24,
208.223.216.230/32, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 255
.255.255.255/32 }

block in quick on $ext_if from ( <bad_nets ) to any

Is that really the syntax you used?

block in quick on $ext_if from <bad_nets> to any

would be be better.
Also make sure your table rule is on only one line, or use '\'
or an external file.
Cedric