Allow any non-local traffic onto the weave bridge

If it's destined for a pod on another node it will be checked again
when it reaches that other node.  The previous version was rejecting
traffic coming in from outside the cluster.
This commit is contained in:
Bryan Boreham committed 2017-06-12 17:00:57 +00:00
1 parent 21d4fff450
commit 2584335b11
1 file changed
-1
-1
View File
@@ -117,7 +117,6 @@ func createBaseRules(ipt *iptables.IPTables, ips ipset.Interface) error {
return err
}
if err := ipt.Append(npc.TableFilter, npc.MainChain,
"-m", "set", "--match-set", npc.LocalIpset, "src",
"-m", "set", "!", "--match-set", npc.LocalIpset, "dst", "-j", "ACCEPT"); err != nil {
return err
}