From owner-freebsd-questions@FreeBSD.ORG Wed Sep 27 01:50:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E2E4F16A407 for ; Wed, 27 Sep 2006 01:50:00 +0000 (UTC) (envelope-from snagit@cbpratt.prohosting.com) Received: from n054.sc0.cp.net (smtpout1105.sc0.he.tucows.com [64.97.144.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5789443D81 for ; Wed, 27 Sep 2006 01:50:00 +0000 (GMT) (envelope-from snagit@cbpratt.prohosting.com) Received: from [192.168.1.100] (67.47.213.85) by n054.sc0.cp.net (7.2.069.1) (authenticated as eagletree@hughes.net) id 4519C87D000028C1 for freebsd-questions@freebsd.org; Wed, 27 Sep 2006 01:49:59 +0000 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: FreeBSD Questions From: Chris Date: Tue, 26 Sep 2006 18:49:50 -0700 X-Mailer: Apple Mail (2.752.2) Subject: rewrite of multiple incoming IPs into a single IP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 01:50:01 -0000 I have spent the day trying to get multiple IP addresses rewritten to a single address using IPFW and NATD. Is there a simple way to do this. If I put natd on the public interface, it grabs it and the system hangs at boot. Is there an interface for keeping the packets local to the system where divert can pass them, natd rewrite them and reinsert them into ipfw? The application is what I asked about two days ago, funneling multiple external websites on different addresses into a single jail that works of Apache's NameVirtualHost. Thought it was the easy part but so far it's the only part that is not working, the jail and apache work great. I think I need a divert rule that goes to an internal interface (tun0?) and be able to start natd on that interface. I actually tried tun0 but it was not recognized (I'm not configuring for ppp). It would seem that if I can get over this hurdle, I could use the redirect_address within natd to perform the magic I need. Please tell me if I'm trying to do something absurd or if this should be directed to a different list. Thanks Chris