CLOUDSTACK-8905: Fixed hooking egress rules

This commit is contained in:
Jayapal 2015-09-24 17:06:11 +05:30
parent 13b29bac5a
commit 2bf7fb4b63

View File

@ -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" +