Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Aug 1999 16:38:44 +0800
From:      "Kent Ho" <kent@graffiti.net>
To:        freebsd-questions@FreeBSD.ORG
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Forwarding ip packets with ipfw.
Message-ID:  <19990804083844.91908.qmail@graffiti.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990804083844.91908.qmail>