From owner-freebsd-hackers Mon Dec 10 15: 7: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from parhelion.firedrake.org (parhelion.firedrake.org [212.135.138.219]) by hub.freebsd.org (Postfix) with ESMTP id E720937B416 for ; Mon, 10 Dec 2001 15:06:57 -0800 (PST) Received: from float by parhelion.firedrake.org with local (Exim 3.32 #1 (Debian)) id 16DZVW-0004vB-00; Mon, 10 Dec 2001 23:06:46 +0000 Date: Mon, 10 Dec 2001 23:06:46 +0000 To: Nick Rogness Cc: Lars Eggert , rick norman , freebsd-hackers@FreeBSD.ORG Subject: Re: Nat through two DSL Message-ID: <20011210230646.A17926@parhelion.firedrake.org> Mail-Followup-To: Nick Rogness , Lars Eggert , rick norman , freebsd-hackers@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i From: void Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Dec 07, 2001 at 02:38:04PM -0600, Nick Rogness wrote: > > Damn it, fat fingered it...corrections to firewall: > > > ipfw add 500 divert natd1 ip from $NET to 0.0.0.0/1 out via $DSL_INT#1 > ipfw add 550 divert natd1 ip from 0.0.0.0/1 to any in via $DSL_INT#1 > ipfw add 560 fwd $DSL-2 ip from $NET to 128.0.0.0/1 out via $DSL_INT#1 > ipfw add 570 divert natd2 ip from any to any via $DSL_INT#2 IMHO, you're better off using the last bit in the IP address than the first bit. It's much more random. -- Ben "An art scene of delight I created this to be ..." -- Sun Ra To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message