mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8905: Fixed hooking egress rules
This commit is contained in:
parent
13b29bac5a
commit
2bf7fb4b63
|
|
@ -124,6 +124,7 @@ class CsAcl(CsDataBag):
|
|||
" -m %s " % rule['protocol'] +
|
||||
" --dport %s -j RETURN" % rnge])
|
||||
if self.direction == 'egress':
|
||||
self.fw.append(["filter", "", " -A FW_OUTBOUND -j FIREWALL_EGRESS_RULES"])
|
||||
if rule['protocol'] == "icmp":
|
||||
self.fw.append(["filter", "front",
|
||||
" -A FIREWALL_EGRESS_RULES" +
|
||||
|
|
|
|||
Loading…
Reference in New Issue