summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-10-16 11:05:37 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-10-16 11:05:37 -0700
commitc35dbe5d353c0c48c2a65ee572433eac10f8060f (patch)
treecc51f1d9d2d3986491547cb33513c0aef014899b /src
parentd27fea825e6982a05f932c536c29ae483ae15575 (diff)
downloadvyatta-wanloadbalance-c35dbe5d353c0c48c2a65ee572433eac10f8060f.tar.gz
vyatta-wanloadbalance-c35dbe5d353c0c48c2a65ee572433eac10f8060f.zip
Should handle all of the merge issues.
fix for bug 4675. Throttle back the initial setting of nat rules during startup of wlb. Conflicts: src/lbdecision.cc
Diffstat (limited to 'src')
-rw-r--r--src/lbdecision.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lbdecision.cc b/src/lbdecision.cc
index 54a0ffc..52d1e03 100644
--- a/src/lbdecision.cc
+++ b/src/lbdecision.cc
@@ -283,6 +283,7 @@ LBDecision::run(LBData &lb_data)
if (lb_data._enable_local_traffic == true) {
execute("iptables -t mangle -F WANLOADBALANCE_OUT", stdout);
execute("iptables -t mangle -A WANLOADBALANCE_OUT -m mark ! --mark 0 -j ACCEPT", stdout); //avoid packets set in prerouting table
+ execute("iptables -t mangle -A WANLOADBALANCE_OUT --proto icmp --icmp-type any -j ACCEPT", stdout); //avoid packets set in prerouting table
execute("iptables -t mangle -A WANLOADBALANCE_OUT --source 127.0.0.1/8 --destination 127.0.0.1/8 -j ACCEPT", stdout); //avoid packets set in prerouting table
}