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:
1 parent
21d4fff450
commit
2584335b11
1 file changed
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user