packet-based load-balanced stateless iptables firewall

Visham Ramsurrun vishamr2000 at gmail.com
Sat Apr 16 20:03:54 CEST 2005


Hi to all,

I would like to know how to build a packet-based load-balanced
stateless iptables firewall.

I came across this:

In IPtables, load balancing is done by specifying multiple IP
addresses in a DNAT rule. For example:

iptables -t nat -A PREROUTING -i eth0 -o eth1 -d 192.0.34.72 -j DNAT
--to-destination 192.168.1.2-192.168.1.4

Is the load balancing done in a packet-based manner? Does it use the
round-robin algorithm for it?

Any help will be very much appreciated..

Regards,
Visham



More information about the netfilter mailing list