[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IP Forwarding



Here is what I need to do. I have a web server that is currently located at my office. I am going to move this to a co-location company to allow for 24/7 continuous ops even if our company loses power/internet.
 
This web server also handle our dns services. I am going to have to change the ip address of our dns server thru domain bank and then move this server. the problem is that it can take up to 48 hours to propagate that change over the web. which means we could be down for up to 2 days. I want to have the current ip address forwarded to the new ip, so that the only actual downtime will be the time it take to physically move the server. I have several other services on this server so I need to forward the ip address, not just ports.
 
Also, is it possible to forward and incoming ip on eth1 to an internet ip on the same nic (eth1) or do I need another nic?
 
Tony
----- Original Message -----
Sent: Friday, August 19, 2005 3:29 PM
Subject: Re: IP Forwarding

On Fri, 2005-08-19 at 12:48 -0400, theal wrote:
> I am trying to forward all ports from one ip address to another using
> iptables. can this be accomplished using a single network adaptor?
> anyone know what syntax to use?

do you mean:

a.b.c.d:e -> w.x.y.z:e
a.b.c.d:f -> w.x.y.z:f

or

a.b.c.d:* -> w.x.y.z:e

either way, you should man iptables, it has a very readable manpage and
will get you going with firewalls. pay close attention to the DNAT
section.

-matt zagrabelny



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: