Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 23:06:46 +0000
From:      void <float@firedrake.org>
To:        Nick Rogness <nick@rogness.net>
Cc:        Lars Eggert <larse@ISI.EDU>, rick norman <rick.norman@lmco.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Nat through two DSL
Message-ID:  <20011210230646.A17926@parhelion.firedrake.org>
In-Reply-To: <Pine.BSF.4.21.0112071433530.4544-100000@cody.jharris.com>
References:  <Pine.BSF.4.21.0112071350080.4544-100000@cody.jharris.com> <Pine.BSF.4.21.0112071433530.4544-100000@cody.jharris.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011210230646.A17926>