From owner-freebsd-questions Wed Aug 4 1:40:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tower.portal2.com (tower.portal2.com [202.77.223.18]) by hub.freebsd.org (Postfix) with SMTP id 38F391534D for ; Wed, 4 Aug 1999 01:40:10 -0700 (PDT) (envelope-from kent@graffiti.net) Received: (qmail 91909 invoked by uid 27197); 4 Aug 1999 08:38:44 -0000 Message-ID: <19990804083844.91908.qmail@graffiti.net> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit Mime-Version: 1.0 X-Mailer: MIME-tools 4.104 (Entity 4.117) From: "Kent Ho" To: freebsd-questions@FreeBSD.ORG Cc: freebsd-net@FreeBSD.ORG Date: Wed, 04 Aug 1999 16:38:44 +0800 Subject: Forwarding ip packets with ipfw. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have recently moved one of our webserver from my network to an ISP data center assigned with a new IP address. The problem is that lot of machines out there still trying to find the webserver at the old IP. So I have setup on one of my pc's in my network and aliased the old IP. Now I need help to setup ipfw to forward web connections to the old IP to the new IP. So far I have recompiled the kernel and enabled firewalling, ip forwarding and updated the startup scripts. I have tried many combination of the ipfw. An example of what i'm trying to do: ipfw add fwd xxx.xxx.xxx.xxx,xx ip from any to xxx.xxx.xxx.xxx in recv fxp0 please help. many thanks Kent. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message