From owner-freebsd-questions Fri Jul 27 15:19:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hpu450.hpu.edu (hpu450.hpu.edu [198.199.136.21]) by hub.freebsd.org (Postfix) with ESMTP id 3879937B405 for ; Fri, 27 Jul 2001 15:19:18 -0700 (PDT) (envelope-from waichan@hpu.edu) Received: from sniffit (sniffit.nt.hpu.edu [10.2.1.7] (may be forged)) by hpu450.hpu.edu (8.8.8+Sun/8.8.7) with ESMTP id MAA25119 for ; Fri, 27 Jul 2001 12:18:46 -1000 (HST) From: "Wai Chan" To: Subject: RE: natd configuration Date: Fri, 27 Jul 2001 12:18:28 -1000 Message-ID: <0BB212B622428C45AE42F295EEA242740422A0@leka.admin.hpu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <0BB212B622428C45AE42F295EEA242740424DC@leka.admin.hpu.edu> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I figured out a bit, but not very sure my idea is right. Please help/correct me. 10.2.0.1 will go out as 10.1.0.1 by default. Can I do following in the natd.conf to force 10.3.0.x to go out as 10.1.0.2? redirect_address 10.3.0.1/24 10.1.0.2 If not how about: redirect_address 10.3.0.1 10.1.0.2 redirect_address 10.3.0.2 10.1.0.2 redirect_address 10.3.0.3 10.1.0.2 ... redirect_address 10.3.0.254 10.1.0.2 Will 192.168.1.1 (all IPs before the last IP) get the returning traffic correctly when 192.168.1.1 initiates a http request? I don't care about the any connection initiates from outside. Thanks! best wishes, Wai Chan -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Wai Chan Sent: Thursday, July 26, 2001 08:07 PM To: freebsd-questions@FreeBSD.ORG Subject: natd configuration Hi All, I have trouble in natd configuration. My FreeBSD box has the follwing configuration. 10.1.0.2/24 10.1.0.1/24 | | |nic#1 |-------------------| | FreeBSD 4.3R | | natd | |-------------------| |nic#2 |nic#3 | | | | | | 10.2.0.1/24 10.3.0.1/24 I want all 10.2.0.x traffic go out as 10.1.0.1 and 10.3.0.x traffic go out as 10.1.0.2. Is it possible? How? I would appreciate if someone could show me a similar natd.conf sample. Thank you all in advance! Have a nice day!! Wai. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message