Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2003 14:31:19 +0200 (SAST)
From:      Wayne Swart <fixx@fixx.co.za>
To:        FreeBSD Mailing list <freebsd-questions@freebsd.org>
Subject:   ipfw + natd
Message-ID:  <20030508142730.V8587-100000@gemini.fixx.co.za>

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

I am running FreeBSD4.8-RELEASE and have a problem with ipfw and natd.

the two interfaces (dc0 and dc1) have the following ip setup.

dc1 ip: 10.10.10.1
dc0 ip: 196.x.x.x

now i can't do any requests through my box to "the outside" anymore, since
i added a default to deny rule.

i use the following ipfw rules for the nat, but it does not seem to have
any impact on the requests that has to go through it.

ipfw add divert natd all from any to any via dc0 out keep-state
ipfw add allow all from 10.10.10.0/24 to any via dc0 out keep-state
ipfw add allow all from 10.10.10.0/24 to any via dc1 in keep-state

is there an easier way to troubleshoot this?

any help is appreciated...

Wayne




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