Networking Forums

Networking Forums > Computer Networking > Linux Networking > Trying to migrate server traffic with iptables

Reply
Thread Tools Display Modes

Trying to migrate server traffic with iptables

 
 
howard.fore@gmail.com
Guest
Posts: n/a

 
      01-31-2006, 12:54 AM
Hi,

I'm moving several domains from one box to another. I'd like to use
iptables to redirect traffic from the old server to the new server
while the DNS propagation catches up. I was successfully using xinetd
to redirect the traffic, but my mailserver requires that the IP address
on the incoming SMTP, POP, and IMAP packets match the server IP. I
think that iptables can do this, can someone confirm this? If so, what
commands do I need to use? I've read a lot of firewall scripts and am
getting confused with SNAT, DNAT, postrouting and prerouting. Any
guidance here would be appreciated.

 
Reply With Quote
 
 
 
 
Eric Teuber
Guest
Posts: n/a

 
      01-31-2006, 10:08 PM
(E-Mail Removed) wrote:
> Hi,
>
> I'm moving several domains from one box to another. I'd like to use
> iptables to redirect traffic from the old server to the new server
> while the DNS propagation catches up. I was successfully using xinetd
> to redirect the traffic, but my mailserver requires that the IP address
> on the incoming SMTP, POP, and IMAP packets match the server IP. I
> think that iptables can do this, can someone confirm this? If so, what
> commands do I need to use? I've read a lot of firewall scripts and am
> getting confused with SNAT, DNAT, postrouting and prerouting. Any
> guidance here would be appreciated.
>


use SNAT and FORWARD rules! These will forward the traffic appropriate.
If you post an usecase, we're posting examples. Otherwise try "man
iptables".

Eric
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to migrate DHCP settings from server 2003 to server 2008 Imran Windows Networking 1 10-09-2008 01:43 PM
Steps to Migrate WINS and DHCP to a New Server and Subnet? dave b Windows Networking 0 01-26-2006 10:13 PM
how to migrate the iptables from RedHat to FedoraCore4 nick Linux Networking 2 11-22-2005 05:14 AM
migrate AD Domain accounts to W2K member server LSA Ed Ahlsen-Girard Windows Networking 0 12-17-2003 03:28 AM
Kingston Comms to Migrate Voice Telephony Traffic to an IP Network Sunil Sood Broadband 0 12-12-2003 02:17 PM



1 2 3 4 5 6 7 8 9 10 11