From owner-freebsd-ipfw@FreeBSD.ORG Mon Oct 19 21:30:09 2009 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 868751065672 for ; Mon, 19 Oct 2009 21:30:09 +0000 (UTC) (envelope-from drinking.coffee@gmail.com) Received: from mx1.subnetmask.net (web1.reverse.net [208.101.21.58]) by mx1.freebsd.org (Postfix) with ESMTP id 64EA08FC18 for ; Mon, 19 Oct 2009 21:30:09 +0000 (UTC) Received: from c3p0.reverse.net (c3p0.reverse.net [66.225.200.4]) by mx1.subnetmask.net (Postfix) with ESMTP id 0718B12B80B2 for ; Mon, 19 Oct 2009 16:00:58 -0500 (CDT) Received: from [192.168.2.175] (mx1.reverse.net [66.225.200.253]) by c3p0.reverse.net (Postfix) with ESMTP id CFFEE5730 for ; Mon, 19 Oct 2009 16:00:56 -0500 (CDT) Message-ID: <4ADCD388.5040109@gmail.com> Date: Mon, 19 Oct 2009 16:00:56 -0500 From: Matthew Walker User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-ipfw@freebsd.org References: <25964869.post@talk.nabble.com> In-Reply-To: <25964869.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: IPFW closing range of ports X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2009 21:30:09 -0000 You could starve it by using a pipe, allocate 16 kbit/sec. Then technically you aren't blocking it. ipfw add 1000 pipe 10 tcp from any to any 14500-65535 out ipfw pipe 10 config bw 16k queue 100 mask dst-ip 0xff000000 Otherwise, you can block the ports: ipfw add 1000 deny tcp from any to any 14500-65535 out Depends on how much of a BOFH mood your are in that day. -- Matthew PeterJJ wrote: > I'm new to this, so go easy please. > > I have put in place a very basic ipfw ruleset in my place of employment. > To this i have been asked to block out all peer to peer sharing to ports in > the range of 14500-65000. > >