Configure Firewall on an Edge Router
Firewall rules are configured on Edge Routers.
An IP Set is a group of IP addresses to which Firewall rules are applied. Grouping IP addresses into an IP Set allows you to avoid creating a separate rule for each IP address.
1. Create an IP Set
- From the control panel, open the Cloud Director panel: in the top menu, click Products → VMware-based Cloud → the Cloud Director section.
- Open the virtual data center page.
- Go to the Networking → Edges section.
- Open the page of the required Edge.
- Click Services.
- Open the Grouping object → IP Sets tab.
- Click +.
- Enter a group name.
- Enter IP addresses or IP ranges.
- Click Keep.
2. Create a firewall rule
If the firewall is enabled, the default rule for ingress traffic will block all traffic until you configure other rules.
-
From the control panel, open the Cloud Director panel: in the top menu, click Products → VMware-based Cloud → the Cloud Director section.
-
Open the virtual data center page.
-
Go to the Networking → Edges section.
-
Open the page of the required Edge.
-
Click Services.
-
Open the Firewall tab.
-
Turn on the Enabled switch.
-
Click +.
-
Enter a rule name.
-
In the Source field, click + and enter the source address.
-
In the Service field, select any.
-
In the Action field, select Accept.
-
To specify destination objects to which the rule will be applied, in the Destination field click +, in the Browse objects of type field select the destination object type, add the necessary objects, and click KEEP. Available object types:
- Gateway interfaces — all internal networks (Internal), all external networks (External), or all external and internal networks (Any);
- Virtual machines — virtual machines;
- OrgVdcNetworks — organization-level networks;
- IP Sets — groups of IP addresses;
- Security Groups — security groups.
-
Click Save changes.
Rule examples
Example 1
Example 2
To allow internet access via any protocol to a server with a specified IP:
- From the control panel, open the Cloud Director panel: in the top menu, click Products → VMware-based Cloud → the Cloud Director section.
- Open the virtual data center page.
- Go to the Networking → Edges section.
- Open the page of the required Edge.
- Click Services.
- Open the Firewall tab.
- Turn on the Enabled switch.
- Click +.
- Enter a rule name.
- In the Source field, click IP and enter the IP address.
- In the Destination field, select Any.
- In the Service field, select Any.
- In the Action field, select Accept.
- Click Save changes.