From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 04:54:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 587A916A418 for ; Mon, 5 Nov 2007 04:54:54 +0000 (UTC) (envelope-from chris@sigd.net) Received: from ms05.mailstreet2003.net (ms05.mailstreet2003.net [69.25.50.235]) by mx1.freebsd.org (Postfix) with ESMTP id 2590013C4B0 for ; Mon, 5 Nov 2007 04:54:53 +0000 (UTC) (envelope-from chris@sigd.net) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Sun, 4 Nov 2007 23:54:51 -0500 Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC220F34B45D@ms05.mailstreet2003.net> In-Reply-To: <968423.23711.qm@web45616.mail.sp1.yahoo.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ipfw rule question ... all possible interfaces ? Thread-Index: AcgfZW7QxIUEQ6QlQrONQAutX8yc4wAAnwPg References: <968423.23711.qm@web45616.mail.sp1.yahoo.com> From: "Chris Haulmark" To: "Juri Mianovich" , Cc: Subject: RE: ipfw rule question ... all possible interfaces ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 04:54:54 -0000 =20 >=20 > Is there a way to tell ipfw: >=20 > "all interfaces currently configured on this system" ? >=20 > I have a laptop and at any time I could plug in a USB > NIC or plug in a pccard, in addition to the onboard > LAN and WIFI, either of which may or may not be > configured at boot time. >=20 > So the point is, the active, configured interfaces > changes regularly. >=20 > So if I have a rule like: >=20 > allow ip from any to any via iwi0 >=20 > that won't work well, and neither will: >=20 > allow ip from any to any via iwi0,abc0 >=20 > So is there any way to say "all interfaces currently > configured" and have that rule apply to new interfaces > automatically as they are added and subtracted from > the system ? Try this: allow ip from any to any Just leave out "via" >=20 > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org"