mirror of https://github.com/apache/cloudstack.git
IPv6 firewall: accept packets from related and established connections (#10970)
* IPv6 firewall: accept related packets and packets from established connections * Remove rule from input chain
This commit is contained in:
parent
e3681a04bb
commit
5d32492676
|
|
@ -232,6 +232,8 @@ class CsNetfilters(object):
|
|||
if hook == "input" or hook == "output":
|
||||
CsHelper.execute("nft add rule %s %s %s icmpv6 type { echo-request, echo-reply, \
|
||||
nd-neighbor-solicit, nd-router-advert, nd-neighbor-advert } accept" % (address_family, table, chain))
|
||||
elif hook == "forward":
|
||||
CsHelper.execute("nft add rule %s %s %s ct state established,related accept" % (address_family, table, chain))
|
||||
|
||||
def add_ip4_chain(self, address_family, table, chain, hook, action):
|
||||
chain_policy = ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue