Chris Watson writes:


On Jan 10, 2004, at 12:31 AM, Albert Rybalkin wrote:


Just wondering why the following rule gives me a syntax
error in "route-to" part:
pass out quick on $ext_if route-to (fxp0:0) proto udp \
from any to any keep state queue dns
What I'm missing here?
Thanks,
--
Albert Rybalkin



Hi Albert!


Yeah the first time I had to use route-to it took me a bit to grok it.
You need to alter your line just a tad. It's pretty close.
Here's an example from a config I just did recently:


pass in quick on $LAN_IF route-to \
{ ($WAN_IF_0 $WAN_GW_0), ($WAN_IF_1 $WAN_GW_1) } round-robin \


After the route-to is where you throw your line break. Then add the interface(s).
Does that clear it up for you?



Chris, thanks! The rule loads fine now. Guess it's a parser bug in pfctl? -- Albert Rybalkin

Reply via email to