At 23:01 02/02/2003 -0800, [EMAIL PROTECTED] wrote:

I have 2 network cards in the gateway machine.
rl0 is
rl1 is
(p.s. I know realtek suck.. but they were just spare cards!)

There is an external ADSL router connected to rl1, who's IP address is

The default router is ""

natd is enabled, and the natd interface is "rl1"
and gateway is enabled.

First off, it only seems to work if I also enable NATing on the ADSL
router, which I would've thought would've caused problems due to "double
You would need to do this - the internet will ignore your 192.168 addresses.

I have a similar setup at home:

internet ---> [hw adsl router (] --> [] --> LAN -> multiple PCs.

You need NAT enabled on the router.
You don't need NAT on the gateway PC; just a basic ability to forward (route) packets.
Default route on the gateway machine is the ADSL router.
Default router on other machines on the LAN is the gateway machine
and (here's the biggie) you need to set up a static route on the ADSL router for your LAN, gateway being your gateway PC. In my case, I set up -> Exact means to do so depends on make & model of router.

You let the router do all the NAT. it knows about the network between your gateway pc and itself because it's on it, but you have to tell it where to find the other network, otherwise it'll just send it out the Internet, where it will be dropped.

Doing your double-NAT will work, as you have found, but it increases additional complexity, and means if you want to set up any pas-through ports you will need to set them up on both devices too.

Secondly, due to this setup, I don't really know how to configure the
firewall can still be set up, but i will leave any details to the experts on this list.

Any, and I mean any, help would be appreciated! :)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message
APH Computers Ltd.
Tel: 0161-442 2603
Fax: 0161-443 1162

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to