mirror of https://github.com/apache/cloudstack.git
should be able to apply firewall rules to static natted ips
This commit is contained in:
parent
b33f08053c
commit
17a8234140
|
|
@ -119,8 +119,6 @@ public class FirewallManagerImpl implements FirewallService, FirewallManager, Ma
|
|||
// Validate ip address
|
||||
if (ipAddress == null) {
|
||||
throw new InvalidParameterValueException("Unable to create port forwarding rule; ip id=" + ipAddrId + " doesn't exist in the system");
|
||||
} else if (ipAddress.isOneToOneNat()) {
|
||||
throw new InvalidParameterValueException("Unable to create port forwarding rule; ip id=" + ipAddrId + " has static nat enabled");
|
||||
}
|
||||
|
||||
validateFirewallRule(caller, ipAddress, portStart, portEnd, protocol, Purpose.Firewall);
|
||||
|
|
|
|||
Loading…
Reference in New Issue