Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2006 01:44:56 +0200
From:      Stanislaw Halik <weirdo@tehran.lain.pl>
To:        freebsd-current@freebsd.org
Subject:   Re: natd when doubled
Message-ID:  <20060404234456.GA98710@tehran.lain.pl>
In-Reply-To: <17457.4249.383686.765032@roam.psg.com>
References:  <17457.4249.383686.765032@roam.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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