Github user wilderrodrigues commented on the pull request:
https://github.com/apache/cloudstack/pull/627#issuecomment-125889027
Hi @kishankavala,
If it doesn't match the content of rules.v4 perhaps the iptables-save is
not being called when dhcpsrvr.
By adding the change you suggested the code on the CsAddress.py line 367
will be executed:
if self.get_type() in ["control"]:
self.fw.append(["filter", "", "-A FW_OUTBOUND -m state --state
RELATED,ESTABLISHED -j ACCEPT"])
self.fw.append(["filter", "", "-A INPUT -i %s -p tcp -m tcp
--dport 3922 -m state --state NEW -j ACCEPT" % self.dev])
I can add the changes here and run tests before you create the PR, if
that's okay with you.
Cheers,
Wilder
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---