From owner-freebsd-questions@FreeBSD.ORG Fri Nov 2 19:44:09 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 CBCDE16A41B for ; Fri, 2 Nov 2007 19:44:09 +0000 (UTC) (envelope-from jackbarnett@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8AF13C4B0 for ; Fri, 2 Nov 2007 19:44:07 +0000 (UTC) (envelope-from jackbarnett@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so787791wxd for ; Fri, 02 Nov 2007 12:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=j6OIQH7DxqEOkujDIDFJVepjNHdUaE96ziii+VADGqE=; b=KigxeCFuqyHIKXQ21OJH8Vyuu8xOrcHWiuQB71MEr2aiI4RSLRjtwiX+TH4bttLGmpICEs+NDAFIthdOxqG9RMSPcHMorGnoAoPOS6b+qRRIrJ7chSiV06fPMQiYARleM7F2BpsBZybnjvzpEWrnThWHWECYRcXJVzT/XvTvroA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=XBjx5TPKF2jTyQaUssehJURWVsAqGxD+zH6qn8u1tak3yyEXhba3ExyCkXpAiIB58mqALqmCUupeXp2I+laO1VbqdK7ehUdzpd/6lH2Tcd7x+Pwl0GY23FMOQVUxSJFrqx8IwEJ+VuDKE1C927pLwP0U7TGgGkSmntg8LYenqek= Received: by 10.70.118.4 with SMTP id q4mr3165325wxc.1194032606789; Fri, 02 Nov 2007 12:43:26 -0700 (PDT) Received: from ?192.168.17.10? ( [67.190.229.42]) by mx.google.com with ESMTPS id i37sm9200333wxd.2007.11.02.12.43.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Nov 2007 12:43:25 -0700 (PDT) Message-ID: <472B7DDB.7040606@gmail.com> Date: Fri, 02 Nov 2007 14:43:23 -0500 From: Jack Barnett User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) To: Bob Hall , Jack Barnett , Freebsd questions References: <472AF4FF.9000803@gmail.com> <20071102191207.GA79177@kongemord.krig.net> In-Reply-To: <20071102191207.GA79177@kongemord.krig.net> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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 19:44:09 -0000 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. :(