How is the first machine "redirecting"? The most simple solution is to configure the 'different machine's to use the first machine as their default gateway, then use masquerading on the first machine. If you can not use the first machine as the default gateway of the 'different machine's then what you want is not possible. On Thu, Aug 14, 2008 at 17:15, John Smith <ml375mail-pof@xxxxxxxx> wrote: > Hi, > > I got a server (first machine) which is reachable via the internet. > Depending on kind of Request (HTTP, FTP...) it redirects internally to a > different machine. This machine (second machine) is running apache2 for > example. Everthing works fine. > Yet the apache logs on the second machine always list the redirecting > machine (first machine) as the requesting adress/ip and not the ip adress > of the requesting client from the internet. > > How can I fix this? I'm sorry to be so unspecific about the configuration > of iptables on the redirecting machine, but this is all I know about it. > However I can get more information if it is needed for the solution and > you can exactly say what you need. > > Greets, John > > -- > To unsubscribe from this list: send the line "unsubscribe netfilter" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html