Package: iptables
Version: 1.4.12-1
Severity: normal
Hello,
i'm willing to load-balance using statistic module's nth mode :
iptables -t nat -A PREROUTING -p tcp --dport 81 -m state --state NEW \
-m statistic --mode nth --every 2 --packet 0 \
-j DNAT --to-destination 192.168.0.7:8070
iptables -t nat -A PREROUTING -p tcp --dport 81 -m state --state NEW \
-m statistic --mode nth --every 2 --packet 1 \
-j DNAT --to-destination 192.168.0.7:8071
(That's right, same IP, two different ports)
However when i do this, every 4th connection gets refused.
I expected every even connection to go to port 8070, and odd connections
to go to port 8071.
Regards,
Jérémy.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-rc2 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages iptables depends on:
ii libc6 2.13-21
ii libnfnetlink0 1.0.0-1
iptables recommends no packages.
iptables suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]