From owner-freebsd-isp Wed Nov 10 4: 9:33 1999 Delivered-To: freebsd-isp@freebsd.org Received: from hugin.ipf.net.uk (roxy.ipf.net.uk [62.164.129.28]) by hub.freebsd.org (Postfix) with ESMTP id 44D8C14E1F for ; Wed, 10 Nov 1999 04:09:27 -0800 (PST) (envelope-from imacdonald@bond.co.uk) Received: from exchangeuk.bond.co.uk (hidden-user@[62.164.195.70]) by hugin.ipf.net.uk (8.9.1/8.9.1) with ESMTP id MAA18982 for ; Wed, 10 Nov 1999 12:09:26 GMT Received: by exchangeuk.bond.co.uk with Internet Mail Service (5.5.2232.9) id <4528297J>; Wed, 10 Nov 1999 12:10:38 -0000 Message-ID: <119A28E471BDD1118EEC00A0245CFD656DFF83@exchangeuk.bond.co.uk> From: Ian MacDonald To: freebsd-isp@freebsd.org Subject: RE: natd question. Date: Wed, 10 Nov 1999 12:10:27 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org What I need to be able to do is create a an IP address in the 10.1 network that will represent the 192.168.1.6 server so that users only need to know about the 10.1.?.? server. This is because we already have a 192.168.1.0 network on our main network so it is not possible to directly connect it to ours, hence natd. If I turn natd round the redirect_address does not appear to work anymore. > -----Original Message----- > From: Brian Somers [SMTP:brian@Awfulhak.org] > Sent: 09 November 1999 07:07 > To: Ian MacDonald > Cc: freebsd-isp@FreeBSD.ORG; brian@hak.lan.Awfulhak.org > Subject: Re: natd question. > > > I have a FreeBSD box with 2 nics (xl0, xl1). It is configured as > follows: > > > > xl0 has address 10.1.1.101/16 and alias 10.1.1.102/16 > > xl1 has address 192.168.100.253/24 > > > > there is a route via a router at 192.168.100.230 to 192.168.1.0/24. The > > route works fine. Nat is running on xl0 with a redirect_address to > > 192.168.1.6 from 10.1.1.102. > > The packets go out to 192.168.1.6 fine but the origin is left as > 10.1.1.* > > and not changed to 192.168.100.253 and as such the destination does not > know > > how to get back. > > > > Has anyone got any ideas how I can force natd to change the source ip > addr > > when the source and dest are both reserved IP ranges? > > If you want to hide the 10.1/16 network from the 192.168.100/24 > network, you should consider 10.1/16 private and 192.168.100/24 > public. It's then obvious that you must run natd on xl1 (the public > interface). > > > Thanks. > > > > Ian. > > -- > Brian > > Don't _EVER_ lose your sense of humour ! > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message