Date: 03 Feb 2003 07:05:44 +0000 From: Stacey Roberts <stacey@vickiandstacey.com> To: mark@fantoma.net Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Routing, NAT'ing and and external ADSL router. Message-ID: <1044255944.13652.151.camel@localhost> In-Reply-To: <10072.150.101.208.127.1044255719.squirrel@mail.zoper.com> References: <10072.150.101.208.127.1044255719.squirrel@mail.zoper.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Mon, 2003-02-03 at 07:01, mark@fantoma.net wrote: > Hey people, > > I couldn't seem to find any information anywhere regarding how to do > this, and I tried to do it myself with my somewhat limited networking > skills (I'm a relative newbie to FreeBSD). > > This is the setup. > > I have 2 network cards in the gateway machine. > rl0 is 192.168.0.1 255.255.255.0 > rl1 is 192.168.1.1 255.255.255.0 > (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 > 192.168.1.2 > > The default router is "192.168.1.2" > > natd is enabled, and the natd interface is "rl1" > and gateway is enabled. > > I also have the IPDIVERT and IPFIREWALL options in the kernel. > (and my firewall config has add divert natd from any to any via rl1) > Now, I've "sort-of" gotten it to work at the moment.. however I'm not > sure of a few settings. > > 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 > NATting" > Secondly, due to this setup, I don't really know how to configure the > firewall.. > > Any, and I mean any, help would be appreciated! :) Have a look at this site for a primer, then followup with the link at the bottom of the article for practical stuff: http://www.defcon1.org/natd.html Regards, Stacey > > Cheers, > Mark > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com 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?1044255944.13652.151.camel>