From 37ce9ca021a4849e792bcb96a1ee7a1cebdf6b42 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 10 Jul 2008 10:09:49 -0700 Subject: my bad. last commit I changed the conntrack module name to uppercase which caused the snat rules to not match the iptables module and therefore fail on load. this should fix the problem, tested icmp with standard configuration and default routes, works now. --- src/lbdecision.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lbdecision.cc b/src/lbdecision.cc index 616f243..9bf56cf 100644 --- a/src/lbdecision.cc +++ b/src/lbdecision.cc @@ -144,7 +144,7 @@ if so then this stuff goes here! sprintf(hex_buf,"%X",ct); execute(string("ip rule add fwmark ") + hex_buf + " table " + buf, stdout); - execute(string("iptables -t nat -A WANLOADBALANCE -m CONNMARK --mark ") + buf + " -j SNAT --to-source " + fetch_iface_addr(iface), stdout); + execute(string("iptables -t nat -A WANLOADBALANCE -m connmark --mark ") + buf + " -j SNAT --to-source " + fetch_iface_addr(iface), stdout); ++ct; ++iter; -- cgit v1.2.3