Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2005 11:08:43 -0300
From:      Gilberto Villani Brito <gilberto@dilk.com.br>
To:        freebsd-ipfw@freebsd.org
Subject:   Re: natd
Message-ID:  <20050609110843.18bdaa66@giboia>
In-Reply-To: <20050609095322.4fdeb73c@giboia>
References:  <43866.62.2.21.164.1117631913.squirrel@www.gwch.net> <20050608173038.2327b73f@giboia> <365B62E6-8D2E-47E1-9F86-A9CC315F88ED@mac.com> <200506081746.16756.asstec@matik.com.br> <20050609095322.4fdeb73c@giboia>

next in thread | previous in thread | raw e-mail | index | archive | help
Why this rules works:
/sbin/ipfw -f flush
/sbin/ipfw add 00100 allow ip from any to any via lo0
/sbin/ipfw add 500 divert 8668 ip from any to any via sis0
/sbin/natd -a 200.200.200.2
/sbin/ipfw add 64002 pass all from any to any
/sbin/ipfw add 65000 allow all from any to any

and this rules doen't works:
/sbin/ipfw -f flush
/sbin/ipfw add 00100 allow ip from any to any via lo0
/sbin/ipfw add 500 divert 8668 ip from 10.0.0.2 to any via sis0
/sbin/natd -a 200.200.200.2
/sbin/ipfw add 64002 pass all from any to any
/sbin/ipfw add 65000 allow all from any to any

????????????????????

My internal ip is 10.0.0.2.


Gilberto



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