LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs + nat

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: lvs + nat
From: "Viktors Rotanovs" <viktors.lists@xxxxxxxxx>
Date: Fri, 1 Sep 2006 19:26:12 +0000
On 9/1/06, Joseph Mack NA3T <jmack@xxxxxxxx> wrote:
On Fri, 1 Sep 2006, Viktors Rotanovs wrote:
> On 9/1/06, Joseph Mack NA3T <jmack@xxxxxxxx> wrote:
>> > port redirection happens before LVS.
>> you've setup iptables to redirect the packets before they
>> arrive at the director.
>
> Yep. In short - is it possible to do port redirection using iptables
> _after_ director on localnode?

no, it's somewhere in  the HOWTO for localnode

Thanks!
I've changed NF_IP_LOCAL_IN to NF_IP_PRE_ROUTING at ip_vs_in_ops in
ip_vs_core.c, and now it bypasses NAT, but I'm not a kernel hacker and
I don't know which priority should  be set and if it's possible to
solve the problem that way.

Joe

Thanks,
viktors

<Prev in Thread] Current Thread [Next in Thread>