Re: Keepalived and NAT loopback,.

"Paul Robert Marino" <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
Nat on a loopback is was deprecated (since kernel version 2.4) then disabled netfilters (in kernel version 2.6) along time ago and selinux blocks it too. The reason is its a potential massive security hole.
You can do it via the dummy Ethernet driver which provides this kind of functionality however there are better way to do this.

Please describe exactly what you are trying to do and well try to help you.

-- Sent from my HP Pre3

----------
On Aug 1, 2013 15:24, Pat Suwalski <[email protected]> wrote:

Hello.

(Apologies if this isn't the right place, I notice there is no -users list).

I have a configuration using keepalived for Apache, set up pretty much 
exactly as described here:

http://keepalived.org/LVS-NAT-Keepalived-HOWTO.html

Now, I have a third internal server that is using the virtual internal 
IP as its gateway. I need this server to be able to access loadbalanced 
content. So, if the outside virtual address of keepalived is 1.2.3.4, 
that is what server three needs to get at.

I can't seem to find a way to make this work. Using a "standard" 
loopback recipe with iptables, such as this one:

http://for-invent.com/nat-loopback-using-iptables/

is not doable, because the --to-destination is one of the two 
loadbalanced web servers.

Has anyone managed to solve this?

Many thanks,
--Pat

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.