[packages] haproxy: add transparent mode, needed for SNAT-TPROXY-Load-Balancing which is working since [r21883], thanks jow

git-svn-id: svn://svn.openwrt.org/openwrt/packages@22523 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
cyrus
2010-08-06 23:00:57 +00:00
parent 31372700f6
commit b2c1fc00a4
2 changed files with 5 additions and 2 deletions

View File

@ -77,6 +77,9 @@ listen my_smtp_proxy
# Round robin load balancing over two servers on port 123 forcing
# the address 192.168.1.1 and port 25 as source.
balance roundrobin
#use next line for transparent proxy, so the servers can see the
#original ip-address and remove source keyword in server definition
#source 0.0.0.0 usesrc clientip
server server01 192.168.1.10:123 source 192.168.1.1:25
server server02 192.168.1.20:123 source 192.168.1.1:25