mirror of https://github.com/apache/cloudstack.git
bug 11515: reapply all firewall rules for the IP address when VPN related rules are being revoked
status 11515: resolved fixed Reviewed-by: will@cloud.com
This commit is contained in:
parent
bdd5b9c3d3
commit
6ea66248dd
|
|
@ -250,11 +250,13 @@ public class RemoteAccessVpnManagerImpl implements RemoteAccessVpnService, Manag
|
|||
fwRules.add(_rulesDao.findByRelatedId(vpnFwRule.getId()));
|
||||
}
|
||||
|
||||
s_logger.debug("Marked " + fwRules.size() + " firewall rules as Revoked as a part of disable remote access vpn");
|
||||
|
||||
txn.commit();
|
||||
|
||||
//now apply vpn rules on the backend
|
||||
s_logger.debug("Applying " + fwRules.size() + " firewall rules as a part of disable remote access vpn");
|
||||
success = _firewallMgr.applyFirewallRules(fwRules, false, caller);
|
||||
s_logger.debug("Reapplying firewall rules for ip id=" + ipId + " as a part of disable remote access vpn");
|
||||
success = _firewallMgr.applyFirewallRules(ipId, caller);
|
||||
}
|
||||
|
||||
if (success) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue