[caclmgrd] remove default DROP rule on FORWARD chain (#5034)

This commit is contained in:
Joe LeVeque 2020-07-24 11:59:46 -07:00 committed by Ying Xie
parent 59072a627b
commit 6120145bf1

View File

@ -410,9 +410,7 @@ class ControlPlaneAclManager(object):
# add iptables/ip6tables commands to drop all other incoming packets
if num_ctrl_plane_acl_rules > 0:
iptables_cmds.append("iptables -A INPUT -j DROP")
iptables_cmds.append("iptables -A FORWARD -j DROP")
iptables_cmds.append("ip6tables -A INPUT -j DROP")
iptables_cmds.append("ip6tables -A FORWARD -j DROP")
return iptables_cmds