On 2007/01/07 06:42, S t i n g r a y wrote:
> Thanks Stuart really appriciate your help 
> now the config file i have written keeps giving syntax
> error on the following line can you help me sort this
> as well , i cant seem to find anything wrong with this

the line is in the wrong order; the BNF section of pf.conf(5) is the
best reference to working this out.

pf-rule = action [ ( "in" | "out" ) ]
          [ "log" [ "(" logopts ")"] ] [ "quick" ]
          [ "on" ifspec ] [ "fastroute" | route ] [ af ] [ protospec ]
          hosts [ filteropt-list ]

(each of those e.g. 'route', 'ifspec', 'af', 'protospec' are further
described in the BNF section).

here are the relevant parts of your rule and a corrected version so
it's easy to see what needs to be changed:

pass in on $int_if inet tcp route-to [...] from [...]
pass in on $int_if          route-to [...] inet proto tcp from [...]

Reply via email to