Re: Interface ranges in pf.conf (i.e. tun[0-10])

2006-02-14 Thread Travers Buda
I did it a way that is not directly documented, and not shown in any examples. Kinda had to guess. =( Anyways, here it is: inone = "fxp0" intwo = "fxp1" inthree = fxp2" infour = "xl0" infive = "xl1" insix = "xl2" all_ifs = "{" $inone $intwo $inthree $infour $infive $insix "}" On Monday 13 Feb

Re: Interface ranges in pf.conf (i.e. tun[0-10])

2006-02-14 Thread Henning Brauer
* Tobias Ulmer <[EMAIL PROTECTED]> [2006-02-14 04:37]: > I don't know if this works with regular rules, but there is a recent > post from Ray Lai where he points out that it's possible to use just > interface instead of interface[0-n] [1]. > I didn't find this documented in pf.conf(5), but maybe

Re: Interface ranges in pf.conf (i.e. tun[0-10])

2006-02-13 Thread yary
On 2/13/06, yary <[EMAIL PROTECTED]> wrote: > Now, can one use a group name to set up a pool? eg: > rdr on $ext_if proto tcp from any to any port 80 { httpd_ifs_group } > round-robin just read the referenced post from Henning- looks like my answer is "yes"!

Re: Interface ranges in pf.conf (i.e. tun[0-10])

2006-02-13 Thread yary
On 2/13/06, Ray Lai <[EMAIL PROTECTED]> wrote: ... > In this example ifconfig(8) shows that I have groups ``lo'' and > ``egress'', so in the pf.conf you can stick an interface group > (almost?) anywhere you can stick an interface. (Actually there's > a missing interface group in this example: ``en

Re: Interface ranges in pf.conf (i.e. tun[0-10])

2006-02-13 Thread Ray Lai
On Mon, Feb 13, 2006 at 11:13:17PM -0500, Ray Lai wrote: > On Tue, Feb 14, 2006 at 04:26:29AM +0100, Tobias Ulmer wrote: > > On Mon, Feb 13, 2006 at 09:28:12PM -0500, kyle wrote: > > > Im having trouble finding out if(I'm sure it does) the pf.conf supports > > > interface ranges and how to implemen

Re: Interface ranges in pf.conf (i.e. tun[0-10])

2006-02-13 Thread Ray Lai
On Tue, Feb 14, 2006 at 04:26:29AM +0100, Tobias Ulmer wrote: > On Mon, Feb 13, 2006 at 09:28:12PM -0500, kyle wrote: > > Im having trouble finding out if(I'm sure it does) the pf.conf supports > > interface ranges and how to implement it. Right now, I have an ugly rule > > that specifies each inte

Re: Interface ranges in pf.conf (i.e. tun[0-10])

2006-02-13 Thread Chris Zakelj
kyle wrote: > Im having trouble finding out if(I'm sure it does) the pf.conf supports > interface ranges and how to implement it. Right now, I have an ugly rule > that specifies each interface(tun0, tun1, tun2, etc..). If I somehow missed > this in some documentation, please feel free to tell me to

Re: Interface ranges in pf.conf (i.e. tun[0-10])

2006-02-13 Thread Tobias Ulmer
On Mon, Feb 13, 2006 at 09:28:12PM -0500, kyle wrote: > Im having trouble finding out if(I'm sure it does) the pf.conf supports > interface ranges and how to implement it. Right now, I have an ugly rule > that specifies each interface(tun0, tun1, tun2, etc..). If I somehow missed > this in some doc

Re: Interface ranges in pf.conf (i.e. tun[0-10])

2006-02-13 Thread Lars Hansson
On Tuesday 14 February 2006 10:28, kyle wrote: > Im having trouble finding out if(I'm sure it does) the pf.conf supports > interface ranges and how to implement it. Right now, I have an ugly rule > that specifies each interface(tun0, tun1, tun2, etc..). Try using "tun". --- Lars Hansson

Interface ranges in pf.conf (i.e. tun[0-10])

2006-02-13 Thread kyle
Im having trouble finding out if(I'm sure it does) the pf.conf supports interface ranges and how to implement it. Right now, I have an ugly rule that specifies each interface(tun0, tun1, tun2, etc..). If I somehow missed this in some documentation, please feel free to tell me to STFA or RTFM - but