From owner-freebsd-questions Sun Jul 23 14:10:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 0569837B7FC for ; Sun, 23 Jul 2000 14:10:22 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a022.otenet.gr [195.167.115.22]) by athserv.otenet.gr (8.10.1/8.10.1) with SMTP id e6NL9ID28569 for ; Mon, 24 Jul 2000 00:09:19 +0300 (EET DST) Received: (qmail 23341 invoked by uid 1001); 23 Jul 2000 21:11:00 -0000 Message-ID: <20000723211100.23340.qmail@hades.hell.gr> From: "Giorgos Keramidas" Date: Mon, 24 Jul 2000 00:11:00 +0300 To: Ilia Chipitsine Cc: questions@FreeBSD.ORG Subject: Re: DUMMYNET setup References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from ilia@cgu.chel.su on Sun, Jul 23, 2000 at 11:45:24PM +0600 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jul 23, 2000 at 11:45:24PM +0600, Ilia Chipitsine wrote: > > can somebody help me ? > how can I restrict overall (incoming+outgoing) between two hosts ? > one host is FreeBSD, another one is Win9X. You can make rules that pass all incoming and outgoing packets from these two hosts from a datapipe with limited bandwidth. You can try something like: ipfw pipe 1 config bw 2000b/s ipfw pipe 2 config bw 2000b/s ipfw allow ip from host.A to host.B pipe 1 ipfw allow ip from host.B to host.A pipe 2 Ciao. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message