Date: Fri, 07 Nov 1997 03:06:14 +0000 From: Brian Somers <brian@awfulhak.org> To: aLpHa <wildcard@belen.k12.nm.us> Cc: freebsd-questions@FreeBSD.ORG, chaley@netdot.net Subject: Re: NATD and how to make it work... Message-ID: <199711070306.DAA19984@awfulhak.demon.co.uk> In-Reply-To: Your message of "Thu, 06 Nov 1997 09:54:10 MST." <Pine.BSF.3.95q.971106085655.8111A-100000@meddle.belen.k12.nm.us>
next in thread | previous in thread | raw e-mail | index | archive | help
> > I got some very good sugestions from all of you, I'm running into an new > problem though...I took Ben Pepas advice and made a new port 50000, ok and > I took a new look at my firewall rules everything looks right. There was > an influx of questions like what version of freebsd am I running, so I'm > reposting my origional problem. > > I am running 2.2.5-RELEASE > I am running the new libexec > natd came with this version of freebsd > I have two ethernet cards fxp0 and ep0 > I did compile IPDIVERT and IPFIREWALL into my kernel > I run natd from the rc.firewall script before ipfw but after the divert > socket is enabled. > > Problem : > > 1. Here is how my network looks. > > > INSIDE | OUTSIDE > | > | > | > (192.168.1.1) STARGATE (206.206.121.42) > (ep0) | (fxp0) > > Ok...I have natd running and from STARGATE I can ping inside and outside > the network. > A 192.168 machine can ping 192.168.1.1 and 206.206.121.42 but cannot ping > beyond the external card. > When I kick natd into verbose mode i get the following traslation table. > > 192.168.1.245 --> 206.206.121.10 aliases to > 192.168.1.245 --> 206.206.121.10 > > It should read: > > 192.168.1.245 --> 206.206.121.10 aliased to > 206.206.121.42 --> 206.206.121.10 What's the ``natd'' command that you're running ? Is it: natd -n fxp0 -p 50000 -m or similar ? [.....] > Thanks > wildcard [.....] -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711070306.DAA19984>