From owner-freebsd-questions Wed Sep 5 11:25:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from blueyonder.co.uk (pcow035o.blueyonder.co.uk [195.188.53.121]) by hub.freebsd.org (Postfix) with ESMTP id 1F3DA37B40C for ; Wed, 5 Sep 2001 11:25:43 -0700 (PDT) Received: from gdmckee.local ([62.30.209.11]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 5 Sep 2001 19:25:55 +0100 Received: from [192.168.0.10] (helo=p300) by gdmckee.local with smtp (Exim 3.32 #1) id 15ehMf-0000N9-00; Wed, 05 Sep 2001 19:25:29 +0100 Message-ID: <016301c13638$4c5f3160$0a00a8c0@p300> From: "G D McKee" To: "Alfatrion" , References: <002701c1362f$03ebc370$0a00a8c0@p300> <004301c13634$9dfa7240$231fa8c0@kruijff> Subject: Re: Dummynet Question Date: Wed, 5 Sep 2001 19:26:36 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0160_01C13640.AE0FC340" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0160_01C13640.AE0FC340 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi No - I have spelt it correct. My 4 lines are the other way round - = doesn't seem to make any difference thought. I want it to go to a = specific IP address not 'me'!!! Has anyone got any other ideas? Gordon You also have a spelling error in your message as well!!! ----- Original Message -----=20 From: Alfatrion=20 To: G D McKee ; freebsd-questions@FreeBSD.ORG=20 Sent: Wednesday, September 05, 2001 7:00 PM Subject: Re: Dummynet Question This way works for me: ipfw pipe 1 config bw 56Kbits/s ipfw pipe 2 config bw 32Kbits/s ipwf add pipe 1 from any to me 80 ipfw add pipe 2 from me 80 to any Alex You do have a spelling error: maask <=3D> mask=20 ----- Original Message -----=20 From: G D McKee=20 To: freebsd-questions@FreeBSD.ORG=20 Sent: Wednesday, September 05, 2001 7:20 PM Subject: Dummynet Question Hi, Add the following lines to my firewall config to emulate a 56K = modem. They are as follows: ${fwcmd} add pipe 1 ip from any to 192.168.0.53 via ep0 =20 ${fwcmd} add pipe 2 ip from 192.168.0.53 to any via ep0 =20 ${fwcmd} pipe 1 config bw 56Kbits/s ${fwcmd} pipe 2 config bw 32Kbits/s How can I set this up so as only certain ports are limited? I tried = the following but it doesn't seem to work. ${fwcmd} add pipe 1 ip from any to 192.168.0.53 via ep0 =20 ${fwcmd} add pipe 2 ip from 192.168.0.53 to any via ep0 =20 ${fwcmd} pipe 1 config bw 56Kbits/s mask dst-port 80 ${fwcmd} pipe 2 config bw 32Kbits/s maask src-port 80 Does anyone have any ideas? Thanks in advance Gordon ------=_NextPart_000_0160_01C13640.AE0FC340 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
 
No - I have spelt it correct.  My = 4 lines are=20 the other way round - doesn't seem to make any difference thought.  = I want=20 it to go to a specific IP address not 'me'!!!
 
Has anyone got any other = ideas?
 
Gordon
You also have a spelling error in your = message as=20 well!!!
----- Original Message -----
From:=20 Alfatrion
To: G D McKee ; freebsd-questions@FreeBSD.O= RG=20
Sent: Wednesday, September 05, = 2001 7:00=20 PM
Subject: Re: Dummynet = Question

This way works for me:
 
ipfw pipe 1 config bw=20 56Kbits/s
ipfw pipe 2 config bw 32Kbits/s
 
ipwf add pipe 1 from any to me = 80
ipfw add pipe 2 from me 80 to = any
 
Alex
You do have a spelling error: maask = <=3D>=20 mask
----- Original Message -----
From:=20 G = D McKee=20
To: freebsd-questions@FreeBSD.O= RG=20
Sent: Wednesday, September = 05, 2001=20 7:20 PM
Subject: Dummynet = Question

Hi,
 
Add the following lines to my = firewall config=20 to emulate a 56K modem.   They are as = follows:
 
${fwcmd} add pipe 1 ip from any to = 192.168.0.53=20 via ep0  
${fwcmd} add pipe 2 ip from 192.168.0.53 to = any via=20 ep0   
${fwcmd} pipe 1 config bw = 56Kbits/s
${fwcmd}=20 pipe 2 config bw 32Kbits/s
 
How can I set this up so as only = certain ports=20 are limited?  I tried the following but it doesn't seem to=20 work.
 
${fwcmd} add pipe 1 ip from any to = 192.168.0.53=20 via ep0  
${fwcmd} add pipe 2 ip from 192.168.0.53 to = any via=20 ep0   
${fwcmd} pipe 1 config bw 56Kbits/s mask = dst-port=20 80
${fwcmd} pipe 2 config bw 32Kbits/s maask src-port = 80
 
Does anyone have any = ideas?
 
Thanks in advance
 
Gordon
------=_NextPart_000_0160_01C13640.AE0FC340-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message