natd when doubled

Stanislaw Halik weirdo at tehran.lain.pl
Tue Apr 4 23:44:59 UTC 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060404/1b6d950e/attachment.pgp


More information about the freebsd-current mailing list