Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2000 18:37:19 +0700
From:      "Yamin Prabudy" <min@starindo.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   NATD
Message-ID:  <002401c052e6$58475740$f2006dcb@dusak>

next in thread | raw e-mail | index | archive | help
Hi all good fellow

I have this kind of network

                                        |--------------------|
{20.0.0.0/24}------------- |{20.0.0.1}         |        |-----gateway
                            |           |                          |
|
                            |---------|{202.150.1.1}
|-------|-------------202.150.1.*
                                        |-------------------- |


the 20.0.0.0/24 is my Intranet and the 20.0.0.1 is my ed1 that act as
gateway to my intranet and 202.150.* is my ed0 with Internet static IP

I'd already configure my kernel with option    IPFIREWALL and IPDIVERT and
already enable my gateway and also alread add this line
ipfw add divert natd all from 20.0.0.1 to 202.150.1.1
ipfw add pass all from any to any

I can ping well to 20.0.0.1 and 202.150.1.1 from  my intranet, and from the
server i can go to Internet
but I can't ping out from my gateway computer let say 202.150.1.2  it come
out with host is down.

anybody be kind to point me out what still i missed in configure my network
i need it ini ASAP

Thanks in advance





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002401c052e6$58475740$f2006dcb>