On Wed, Apr 20, 2005 at 09:56:48PM +0930, alex wilkinson wrote:
> Is it possible to specify a range within a table ? e.g.
>
> table <itunes> const { 8000 >< 8999 }
>
> I get a syntax error for the aformentioned table, so can anyone
> suggest a method for what I'm trying to achieve ?
No. Tables contain only addresses (and netblocks of addresses), but
not ports.
You can use a macro like
itunes="8000 >< 8999"
pass inet proto tcp from any port { $itunes , 80 }
Daniel
