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

Re: Diverting smtp traffic



On Thu, 14 Feb 2002, I. Forbes wrote:

> What I would like to do is forward all TCP traffic on port 25 on the 
> old server directly to the new one.  I have tried  "ipmasqadm --
> portfw" but there is no masquerading involved and it does not work. 

Does not work? (Show us.)

> Has anybody done this before?  The machine is running potato with 
> a 2.2.19 kernel.

Try something like:

 ipmasqadm portfw -a -P tcp -L 192.168.0.1 25 -R 192.168.0.2 25

Your remote interface needs to listen on the original IP too.

You do need to have your kernel built with the appropriate masquerading
options. (Read your ipmasqadm manual page and do "ipmasqadm portfw
-h" for help.)

  Jeremy C. Reed
.......................................................
     ISP-FAQ.com -- find answers to your questions
     http://www.isp-faq.com/



Reply to: