From 2584335b1143f337f0611a1053cc5e999f748f70 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 12 Jun 2017 17:00:57 +0000 Subject: [PATCH] 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. --- prog/weave-npc/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/prog/weave-npc/main.go b/prog/weave-npc/main.go index c3d3e14e..7e877c00 100644 --- a/prog/weave-npc/main.go +++ b/prog/weave-npc/main.go @@ -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 }