As described in the NSX Data Center for vSphere documentation, default firewall settings apply to traffic that does not match any of the user-defined firewall rules. In the VMware Cloud Director Tenant Portal, the default distributed firewall rule is labeled Default Allow Rule.
The distributed firewall capability must be enabled on an organization virtual data center before you can manage the distributed firewall settings using the VMware Cloud Director Tenant Portal.
The default distributed firewall rule is configured to allow all layer 3 and layer 2 traffic to pass through the organization virtual data center. This setting is indicated by the Allow set in the Action column in the user interface. The default rule is always at the bottom of the rules table.
Add a Distributed Firewall Rule by Using Your VMware Cloud Director Tenant Portal
By using the VMware Cloud Director Tenant Portal, you first add a distributed firewall rule to the scope of the organization virtual data center. Then you can narrow down the scope at which you want to apply the rule. The distributed firewall allows you to add multiple objects at the source and destination levels for each rule, which helps reduce the total number of firewall rules to be added.
For information about the predefined services and service groups that you can use in a rule, see View Services Available for Firewall Rules by Using Your VMware Cloud Director Tenant Portal and View Service Groups Available for Firewall Rules by Using Your VMware Cloud Director Tenant Portal.
Prerequisites
- Enable the Distributed Firewall on an Organization Virtual Data Center Backed by NSX Data Center for vSphere in the VMware Cloud Director Tenant Portal
- If you want to use an IP set as a source or destination in a rule, Create an IP Set for Use in Firewall Rules and DHCP Relay Configuration by Using Your VMware Cloud Director Tenant Portal.
- If you want to use a MAC set as a source or destination in a rule, Create a MAC Set for Use in Firewall Rules by Using Your VMware Cloud Director Tenant Portal.
- If you want to use a Security group as a source or destination in a rule, Create a Security Group by Using Your VMware Cloud Director Tenant Portal.
Procedure
Edit a Distributed Firewall Rule by Using Your VMware Cloud Director Tenant Portal
In a VMware Cloud Director environment, to modify an existing distributed firewall rule of an organization virtual data center, use the Distributed Firewall screen.
For details about the available settings for the various cells of a rule, see Add a Distributed Firewall Rule by Using Your VMware Cloud Director Tenant Portal.