LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

firewall + loadbalancer on the same machine

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: firewall + loadbalancer on the same machine
From: Atif Ghaffar <aghaffar@xxxxxxxxxxxx>
Date: Tue, 03 Aug 2004 13:20:25 +0200
Hi all,

I would like to know: Is it possible to run iptables firewall and ipvs loadbalancer on the same machine. Or Can I access or forward requests to loadbalanced service address if it is on the same machine?

Until recently I have a set of machines which do the firewall and another set of machines that do the ipvs.

The ipvs is needed only for one or two services. so I want to put that also on the same machines as the firewalls.


The firewall+loadbalancer will be doing something like this.

Firewall rule:
NAT 212.232.121.121 port 80 to 192.168.30.121 port 80
Both IP addresses are of firewall interfaces

Loadbalancer rule:
Send all traffic on ip 192.168.30.121 port 80 to ¨
the following NATed addresses

192.168.100.101 port 80
192.168.100.102 port 80
192.168.100.103 port 80


thanks in advance.

best regards.
Atif





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