From owner-freebsd-questions Sat Jan 25 9:59:47 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C716037B401 for ; Sat, 25 Jan 2003 09:59:46 -0800 (PST) Received: from pacman.mweb.co.za (pacman.mweb.co.za [196.2.45.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2095043E4A for ; Sat, 25 Jan 2003 09:59:40 -0800 (PST) (envelope-from vikashb@mweb.co.za) Received: from nld-dial-196-30-177-213.mweb.co.za ([196.30.177.213]:1244 helo=win98) by pacman.mweb.co.za with smtp (Exim 4.01) id 18cUZz-0000GE-00 for freebsd-questions@FreeBSD.ORG; Sat, 25 Jan 2003 19:59:01 +0200 Message-ID: <000b01c2c49b$47aeacc0$4b0a0a0a@my.domain> From: "Vikash Badal" To: Subject: Source nat question (ipfw and natd) Date: Sat, 25 Jan 2003 19:57:09 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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 Greetings, I currently have a box (4.7p3) that i want to connect to four different networks According to the man page i can only nat on one interface using natd. My current natd.conf is as follows : -------------------------------------------------------------------------- redirect_address 10.136.236.18 192.168.28.61 redirect_address 10.136.236.20 192.168.20.47 redirect_address 10.136.236.19 192.167.11.47 -------------------------------------------------------------------------- When i add the following maping : redirect_address 10.136.236.18 192.168.15.47 the source address for connections to 192.168.15.0/24 is 192.168.25.61 is there any way i can setup natd and ipfw so that if packets are destined for 192.168.15.0/24 then the source address should be 192.168.15.47 Please Advise Vikash To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message