should be able to apply firewall rules to static natted ips

This commit is contained in:
Chiradeep Vittal 2011-08-10 22:53:07 -07:00
parent b33f08053c
commit 17a8234140
1 changed files with 0 additions and 2 deletions

View File

@ -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);