By default, the Compute Gateway blocks traffic into and out of the SDDC Compute Network. Add Compute Gateway firewall rules to allow traffic as needed.
- allow (allow matching traffic)
- drop (silently drop matching traffic)
- reject (drop matching traffic and notify the source)
All traffic attempting to pass through the firewall is evaluated by the rules in the order shown in the rules table. Traffic matching the first rule follows its action (allow, drop, or reject) and evaluation stops. Traffic not matching the first rule is passed on to subsequent rules. When it hits a match, the traffic is allowed, dropped, or rejected as specified by the rule action, and further rule evaluation is stopped. Traffic that does not match any customer-defined rules is handled by a default rule.
- Pre-defined firewall rules are created by VMware Cloud on AWS. There are two pre-defined Compute Gateway firewall rules:
Table 1. Pre-Defined Compute Gateway Firewall Rules Name Sources Destinations Services Applied To Action Default VTI Rule Any Any Any VPN Tunnel Interface Drop * Default Uplink Rule Any Any Any All Uplinks Drop - Customer-defined firewall rules are processed in the order you specify and are always processed before the Default Uplink Rule.
Prerequisites
Compute Gateway firewall rules require named inventory groups for Source and Destination values. See Working With Inventory Groups.
Procedure
What to do next
You can take any or all of these optional actions with an existing firewall rule.
-
Click the gear icon to view or modify rule logging settings. Log entries are sent to the VMware VMware Aria Operations for Logs Service. See Using VMware Aria Operations for Logs in the VMware Cloud on AWS Operations Guide.
-
Click the graph icon to view Rule Hits and Flow statistics for the rule.
Table 2. Rule Hits Statistics Popularity Index Number of times the rule was triggered in the past 24 hours. Hit Count Number of times the rule was triggered since it was created. Table 3. Flow Statistics Packet Count Total packet flow through this rule. Byte Count Total byte flow through this rule. - Reorder firewall rules.
A rule created from the ADD NEW RULE button is placed at the top of the list of rules. Firewall rules are applied in order from top to bottom. To change the position of a rule in the list, select it and drag it to a new position. Click PUBLISH to publish the change.