From owner-freebsd-ipfw@FreeBSD.ORG Thu May 25 13:06:07 2006 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBDB416A487 for ; Thu, 25 May 2006 13:06:07 +0000 (UTC) (envelope-from prvs=astraserg/0300289187@proc.ru) Received: from mail.proc.ru (mail.proc.ru [217.117.112.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44D2543D6E for ; Thu, 25 May 2006 13:06:07 +0000 (GMT) (envelope-from prvs=astraserg/0300289187@proc.ru) Received: from [217.117.127.77] (helo=77.127.real.proc.ru) by mail.proc.ru with esmtps (TLSv1:RC4-MD5:128) (envelope-from ) id 1FjF9x-0008Me-Aq for freebsd-ipfw@freebsd.org; Thu, 25 May 2006 16:41:49 +0400 From: AstraSerg Organization: Proc.ru To: freebsd-ipfw@freebsd.org Date: Thu, 25 May 2006 16:40:09 +0400 User-Agent: KMail/1.8.2 References: <008201c67f88$3350a200$0101a8c0@cristian2aebca> In-Reply-To: <008201c67f88$3350a200$0101a8c0@cristian2aebca> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605251640.09911.astraserg@proc.ru> Subject: Re: rule to accept lists of ip's X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: astraserg@proc.ru List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 13:06:10 -0000 ipfw add 100 allow ip from 200.200.200.3 to 200.200.200.1 keep-state ipfw add 110 allow ip from 200.200.200.3 to 200.200.200.2 keep-state ipfw add 120 deny ip from any to 200.200.200.1 ipfw add 130 deny ip from any to 200.200.200.2 On Thursday 25 May 2006 03:17, mufalani wrote: > Hi all, > > I would like to create ipfw rule to allow the lists of valid ip's to > access my site. > > for example : > > allow access to addresses 200.200.200.1 (or hostname1) , 200.200.200.2 (or > hostname2) > > for my site under ip 200.200.200.3 > > and deny all world. > > > This is possible? > > How to sintax of rule? > > Att, > > Rodrigo Mufalani > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" -- Thu May 25 16:37:13 MSD 2006