You can use IP addresses, vCenter objects, and NSX grouping objects as sources. You can also define sources and destinations and negate them. If no sources or destinations are defined, the source or destination is set to "any".
The following vCenter objects can be specified as the source or destination for a firewall rule:
Source or Destination
- (Optional) Select objects to use in the firewall rule.
- Click Edit in the source or destination column.
- Select the object type from the Object Type drop-down menu.
You can create a new security group or IP set. Once you create the new object, it is added to the source or destination column by default. For information on creating a new security group or IP set, see Network and Security Objects.
- Select one or more objects and click the arrow to move them to the Selected Objects column.
- (Optional) Select IP addresses to use in the firewall rule.
Click Edit in the source or destination column, select IP addresses, and click Add.
Enter one IP address. Both IPv4 and IPv6 addresses are valid.
Click Add if you need to enter additional IP addresses.
Click IP () in the source column.
Select IPv4 or IPv6.
Type the IP address.
You can enter multiple IP addresses in a comma-separated list. The list can contain up to 255 characters.
- (Optional) Negate the sources or destinations defined in this rule.
If Negate Source is selected, the rule is applied to traffic coming from all sources except for the sources defined for this rule.
If Negate Source is not selected, the rule applies to traffic coming from the sources or destinations defined for this rule.
You can select Negate Source only if you have at least one source or destination defined.
Click Edit in the source column.
Set Negate Source to On.
Click Edit () in the source column.
Select the Negate source check box.