From owner-freebsd-current@FreeBSD.ORG Tue Apr 4 23:44:59 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABE9516A425 for ; Tue, 4 Apr 2006 23:44:59 +0000 (UTC) (envelope-from sthalik@tehran.lain.pl) Received: from tehran.lain.pl (tehran.lain.pl [85.221.230.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id F324143D66 for ; Tue, 4 Apr 2006 23:44:58 +0000 (GMT) (envelope-from sthalik@tehran.lain.pl) Received: from sthalik by tehran.lain.pl with local (envelope-from ) id 1FQvCi-000PjD-Sz for freebsd-current@freebsd.org; Wed, 05 Apr 2006 01:44:56 +0200 Date: Wed, 5 Apr 2006 01:44:56 +0200 From: Stanislaw Halik To: freebsd-current@freebsd.org Message-ID: <20060404234456.GA98710@tehran.lain.pl> Mail-Followup-To: freebsd-current@freebsd.org References: <17457.4249.383686.765032@roam.psg.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <17457.4249.383686.765032@roam.psg.com> X-PGP-Key: http://tehran.lain.pl/public.key User-Agent: Mutt/1.5.11 Sender: Stanislaw Halik X-User: sthalik Subject: Re: natd when doubled X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 23:44:59 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 03, 2006, Randy Bush wrote: > my ipfw.rules sez > add divert natd all from 192.168.0.0/24 to any via em0 > add divert natd all from any to 192.168.0.0/24 via ath0 > the two machines can ping eachother over the wireless. but > nat is just not doing it. try it that way: add divert natd all from any to external_ip in recv ext0 add divert natd all from lan_ip/24 to any out xmit rl0 HTH, -- sh --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEMwT4adU+vjT62TERAoqZAJ9SEdZrpKa1yKdQNlufHPl1xToYjgCfaEEb cU/x9kfk1yn4fbpyG9wTqe4= =a/CF -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn--