From owner-freebsd-questions@FreeBSD.ORG Fri Nov 2 21:29:42 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C34716A418 for ; Fri, 2 Nov 2007 21:29:42 +0000 (UTC) (envelope-from jackbarnett@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.228]) by mx1.freebsd.org (Postfix) with ESMTP id C505613C480 for ; Fri, 2 Nov 2007 21:29:41 +0000 (UTC) (envelope-from jackbarnett@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so697110nzf for ; Fri, 02 Nov 2007 14:29:15 -0700 (PDT) Received: by 10.142.79.15 with SMTP id c15mr692621wfb.1194033161978; Fri, 02 Nov 2007 12:52:41 -0700 (PDT) Received: from ?192.168.17.10? ( [67.190.229.42]) by mx.google.com with ESMTPS id i33sm9244753wxd.2007.11.02.12.52.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Nov 2007 12:52:39 -0700 (PDT) Message-ID: <472B8005.9090602@gmail.com> Date: Fri, 02 Nov 2007 14:52:37 -0500 From: Jack Barnett User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) To: jackbarnett@gmail.com References: <472AF4FF.9000803@gmail.com> <20071102191207.GA79177@kongemord.krig.net> <472B7DDB.7040606@gmail.com> <472B7E57.8050003@gmail.com> In-Reply-To: <472B7E57.8050003@gmail.com> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Bob Hall , Freebsd questions Subject: Re: IPFW Rules and Games X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jackbarnett@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 21:29:42 -0000 Jack Barnett wrote: Jack Barnett wrote: Bob Hall wrote: On Fri, Nov 02, 2007 at 04:59:27AM -0500, Jack Barnett wrote: I added this for a temporary fix: ${fwcmd} add pass all from any to any I don't think that is the right answer; That allows to much in? Yes. I've tried these per the docs: ${fwcmd} add allow all from any to any out via {$iip} setup ${fwcmd} add allow all from any to any out via {$iip} established ${fwcmd} add allow all from any to any in via {$iip} established and also a bunch of others; but none of them worked. Try oip instead of iip. iip is your internal IP address, so anything going out from iip is going to your lan, and anything coming in to iip is coming from your lan. You want to control packets communicating with the outside world, so you want to control them at oip. Sorry, that didn't work. I also tried this: ${fwcmd} add allow tcp from any to any via ${oip} setup ${fwcmd} add allow udp from any to any via ${oip} setup ${fwcmd} add allow tcp from any to any via ${oip} established ${fwcmd} add allow udp from any to any via ${oip} established That also blocks it. :( Even tried this and still doesn't work. ${fwcmd} add allow tcp from any to any via ${oip} ${fwcmd} add allow udp from any to any via ${oip} Grrr, this doesn't work either: # statefull ${fwcmd} add check-state ${fwcmd} add allow tcp from any to any established ${fwcmd} add allow all from any to any out keep-state ${fwcmd} add allow icmp from any to any