* DNAT/NAPT
@ 2004-11-23 19:43 Ugo Bellavance
2004-11-23 19:54 ` DNAT/NAPT Jason Opperisano
0 siblings, 1 reply; 3+ messages in thread
From: Ugo Bellavance @ 2004-11-23 19:43 UTC (permalink / raw)
To: netfilter
Hi,
I think that it is possible to achieve some kind of load-balancing
between two servers using iptables NAPT (Network and port translation,
which is usually called port forwarding).
I want to run 2 web servers and use my firewall to do some
load-balancing between them, but I was wondering if it only forwarded
the packets on some round-robin way, even if one host is down. To
summarize, I want to know if I can do some automatic failover with iptables.
If you need more info, let me know
Thanks
Ugo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: DNAT/NAPT
2004-11-23 19:43 DNAT/NAPT Ugo Bellavance
@ 2004-11-23 19:54 ` Jason Opperisano
2004-11-23 20:20 ` DNAT/NAPT Ugo Bellavance
0 siblings, 1 reply; 3+ messages in thread
From: Jason Opperisano @ 2004-11-23 19:54 UTC (permalink / raw)
To: netfilter
On Tue, Nov 23, 2004 at 02:43:56PM -0500, Ugo Bellavance wrote:
> Hi,
>
> I think that it is possible to achieve some kind of load-balancing
> between two servers using iptables NAPT (Network and port translation,
> which is usually called port forwarding).
>
> I want to run 2 web servers and use my firewall to do some
> load-balancing between them, but I was wondering if it only forwarded
> the packets on some round-robin way, even if one host is down. To
> summarize, I want to know if I can do some automatic failover with iptables.
>
> If you need more info, let me know
why not do it for real?
http://www.linuxvirtualserver.org/
-j
--
"That's it! You people have stood in my way long enough. I'm going
to clown college!"
--The Simpsons
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: DNAT/NAPT
2004-11-23 19:54 ` DNAT/NAPT Jason Opperisano
@ 2004-11-23 20:20 ` Ugo Bellavance
0 siblings, 0 replies; 3+ messages in thread
From: Ugo Bellavance @ 2004-11-23 20:20 UTC (permalink / raw)
To: netfilter
Jason Opperisano wrote:
> On Tue, Nov 23, 2004 at 02:43:56PM -0500, Ugo Bellavance wrote:
>
>>Hi,
>>
>> I think that it is possible to achieve some kind of load-balancing
>>between two servers using iptables NAPT (Network and port translation,
>>which is usually called port forwarding).
>>
>>I want to run 2 web servers and use my firewall to do some
>>load-balancing between them, but I was wondering if it only forwarded
>>the packets on some round-robin way, even if one host is down. To
>>summarize, I want to know if I can do some automatic failover with iptables.
>>
>>If you need more info, let me know
>
>
> why not do it for real?
>
> http://www.linuxvirtualserver.org/
Because, in fact, I'll be using trustix firewall and I know it is based
on iptables, and I don't want to do the work if it's already been done.
I'll check lvs if it doesn't do what I want.
Thanks,
>
> -j
>
> --
> "That's it! You people have stood in my way long enough. I'm going
> to clown college!"
> --The Simpsons
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-23 20:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-23 19:43 DNAT/NAPT Ugo Bellavance
2004-11-23 19:54 ` DNAT/NAPT Jason Opperisano
2004-11-23 20:20 ` DNAT/NAPT Ugo Bellavance
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox