diff options
| author | slioch <slioch@eng-140.vyatta.com> | 2009-10-16 11:05:37 -0700 |
|---|---|---|
| committer | slioch <slioch@eng-140.vyatta.com> | 2009-10-16 11:05:37 -0700 |
| commit | c35dbe5d353c0c48c2a65ee572433eac10f8060f (patch) | |
| tree | cc51f1d9d2d3986491547cb33513c0aef014899b /src | |
| parent | d27fea825e6982a05f932c536c29ae483ae15575 (diff) | |
| download | vyatta-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.cc | 1 |
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 } |
