Skip to content

Commit

Permalink
Remove KUBE-POSTROUTING in cloud-agent rules
Browse files Browse the repository at this point in the history
Signed-off-by: yanjianbo <[email protected]>
  • Loading branch information
yanjianbo1983 committed Oct 23, 2023
1 parent f83a35d commit 59d787e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/cloud-agent/iptables.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ COMMIT
*nat
:FABEDGE-POSTROUTING - [0:0]
:KUBE-POSTROUTING - [0:0]
-A FABEDGE-POSTROUTING -m mark --mark 0x4000/0x4000 -j KUBE-POSTROUTING
-A FABEDGE-POSTROUTING -m set --match-set {{ .RemotePodCIDR }} dst -j ACCEPT
-A FABEDGE-POSTROUTING -m set --match-set {{ .RemotePodCIDR }} src -j ACCEPT
Expand Down

0 comments on commit 59d787e

Please sign in to comment.