From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Aldo S. Lagana" Subject: RE: applying a rule Date: Wed, 12 Feb 2003 15:15:39 -0500 Sender: netfilter-admin@lists.netfilter.org Message-ID: <003201c2d2d3$82c6bc30$3864a8c0@discmail.com> References: <000001c2d2d1$48f886c0$bb00a8c0@DOUG1> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0033_01C2D2A9.99F0B430" Return-path: In-Reply-To: <000001c2d2d1$48f886c0$bb00a8c0@DOUG1> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: doug@aircomwireless.net, netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_0033_01C2D2A9.99F0B430 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit silly question - Can you rename your ppp0 interface to something else? That is what I did for a similar problem. -----Original Message----- From: netfilter-admin@lists.netfilter.org [mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Doug Yeager Sent: Wednesday, February 12, 2003 3:00 PM To: netfilter@lists.netfilter.org Subject: applying a rule I have ppp0 (external interface) I also have ppp1 through ppp200 (vpn connections) How can I apply a rule to all the vpn connections but omit ppp0 Is it some combination of ppp+ and ! ppp0 Or is it two separate rules. And which rule would go first if they are separate? Thx, doug ------=_NextPart_000_0033_01C2D2A9.99F0B430 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
silly=20 question - Can you rename your ppp0 interface to something else?  = That is=20 what I did for a similar problem.
-----Original Message-----
From:=20 netfilter-admin@lists.netfilter.org=20 [mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Doug=20 Yeager
Sent: Wednesday, February 12, 2003 3:00 = PM
To:=20 netfilter@lists.netfilter.org
Subject: applying a=20 rule

I have ppp0 (external=20 interface)

 

I also have ppp1 through = ppp200  = (vpn connections)

 

How can I apply a rule = to all the=20 vpn connections but omit=20 ppp0

 

 

Is it some combination = of ppp+ and !=20 ppp0

 

Or is it two separate = rules.  And which rule would go = first if they=20 are separate?

 

Thx,

doug

= ------=_NextPart_000_0033_01C2D2A9.99F0B430-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Doug Yeager" Subject: applying a rule Date: Wed, 12 Feb 2003 14:59:31 -0500 Sender: netfilter-admin@lists.netfilter.org Message-ID: <000001c2d2d1$48f886c0$bb00a8c0@DOUG1> Reply-To: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C2D2A7.6024C8B0" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C2D2A7.6024C8B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I have ppp0 (external interface) I also have ppp1 through ppp200 (vpn connections) How can I apply a rule to all the vpn connections but omit ppp0 Is it some combination of ppp+ and ! ppp0 Or is it two separate rules. And which rule would go first if they are separate? Thx, doug ------=_NextPart_000_0001_01C2D2A7.6024C8B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I have ppp0 (external = interface)

 

I also have ppp1 through ppp200  (vpn connections)

 

How can I apply a rule to all the vpn connections but omit ppp0

 

 

Is it some combination of ppp+ and ! ppp0

 

Or is it two separate rules.  And which rule would go first = if they are separate?

 

Thx,

doug

------=_NextPart_000_0001_01C2D2A7.6024C8B0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnt Karlsen Subject: Re: applying a rule Date: Wed, 12 Feb 2003 22:45:01 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20030212224501.2e48967f.arnt@c2i.net> References: <000001c2d2d1$48f886c0$bb00a8c0@DOUG1> <003201c2d2d3$82c6bc30$3864a8c0@discmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <003201c2d2d3$82c6bc30$3864a8c0@discmail.com> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: "Aldo S. Lagana" Cc: doug@aircomwireless.net, netfilter@lists.netfilter.org On Wed, 12 Feb 2003 15:15:39 -0500, "Aldo S. Lagana" top posted in message <003201c2d2d3$82c6bc30$3864a8c0@discmail.com>: > From: Doug Yeager > Sent: Wednesday, February 12, 2003 3:00 PM > > > > > I have ppp0 (external interface) > > > > I also have ppp1 through ppp200 (vpn connections) > > > > How can I apply a rule to all the vpn connections but omit ppp0 > > ..for i in `seq 1 1 200` ; do $write-rule-for ppp$i ; done # ;-) > > Is it some combination of ppp+ and ! ppp0 > > > > Or is it two separate rules. And which rule would go first if they > > are separate? > > > > Thx, > > doug > > silly question - Can you rename your ppp0 interface to something else? > That is what I did for a similar problem. ..word has it there are only silly _answers_. Show him how _you_ did it. ;-) -- ..med vennlig hilsen = with Kind Regards from Arnt... ;-) ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case.