From owner-freebsd-questions@freebsd.org Sat Jan 23 07:58:16 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3903DA8E82D for ; Sat, 23 Jan 2016 07:58:16 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from ceto.cloudzeeland.nl (cloudzeeland.xs4all.nl [83.161.133.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloudzeeland.nl", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F1C421E95 for ; Sat, 23 Jan 2016 07:58:14 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from ceto.cloudzeeland.nl (ceto.cloudzeeland.nl [10.10.10.30]) by ceto.cloudzeeland.nl (Postfix) with ESMTP id 4378047CB034; Sat, 23 Jan 2016 08:58:11 +0100 (CET) Received: from [10.10.10.33] (unknown [82.176.127.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by ceto.cloudzeeland.nl (Postfix) with ESMTPSA id 0B2FD47CB033; Sat, 23 Jan 2016 08:58:10 +0100 (CET) Subject: Re: IPFW deny ip range To: "William F. Dudley Jr." , freebsd-questions@freebsd.org References: <56A2A4F5.3030907@cloudzeeland.nl> <56A2AEDC.2040204@gmail.com> From: JosC Message-ID: <56A33297.2060603@cloudzeeland.nl> Date: Sat, 23 Jan 2016 08:58:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56A2AEDC.2040204@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on ceto.cloudzeeland.nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2016 07:58:16 -0000 Thank you (all) for your help, will certainly check your suggestions and let you know. ./Jos > replace bge0 with whatever interface your traffic is coming in on. > > Bill Dudley > > On 01/22/2016 04:53 PM, JosC wrote: >> I have this ip range that I would like to block (example ip): >> >> 123.xx.xx.xx >> 123.1.xx.xx >> 123.1.1.xx >> >> Can someone tell me how I can define best in ipfw.rules? >>