Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2006 21:16:49 +0800
From:      Randy Bush <randy@psg.com>
To:        freebsd-net@freebsd.org
Subject:   natd when doubled
Message-ID:  <17455.52929.361561.385511@roam.psg.com>

index | next in thread | raw e-mail

i am in a hotel which gives me an address from 10/8 on the ether.
i have it plugged into em0 on a -current system.

i have another machine on wireless out the ath0 port which is
configured as 192.168.0.1

my natd.conf is

    dynamic yes
    unregistered_only yes
    interface em0

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

i suspect the latter two are a bit too clever

the two machines can ping eachother over the wireless.  but
nat is just not doing it.

hit me with he clue bat, please

randy





home | help

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