Managing firewall rules by server as a tenant administrator
The following procedures explain how to manage firewall rules for servers for your organization:
To add a firewall rule
- From the Service Instances pane of the BMC My Cloud Services Console, double-click a service instance to display its server or servers.
- Select a server and click the Manage Firewall Rules icon
.
The Manage Firewalls dialog is displayed.
You add a firewall rule for a perimeter firewall from the Firewall tab, while you add rules for distributed firewalls from the Distributed Firewall tab, as described in the following sections.
Adding a rule for a perimeter firewall
To create a new rule, click the Add Firewall Rule icon
. The Add Firewall Rule dialog box is displayed.
- Select or enter values for the following options:
- Status - Indicates the status of the firewall rule. Selecting the option enables the firewall rule; clearing the checkbox disables it.
- Allow Traffic - Select the checkbox to permit traffic.
- Description - Enter a description for the rule.
- Log - Click this field to enable logging.
- Transport Protocol - Choose the required protocol, for example, TCP, UDP, and so on.
- Application Protocol - Select an application protocol or enter a single port number or port range (for example, 4000-4005) in the Port Range field.
- Source- Select one of the following for the source address:
- Host Address - Enter the host address.
- Network Address and Network Mask - Enter the network address and mask. If the network is attached to an interface (inside or outside), do not specify the host address or network address/mask as a source or a destination in a firewall rule for the outbound or inbound access control list (ACL).
- Destination - Select one of the following for the following for the destination address:
- Host Address - Enter the host address.
Network Address and Network Mask - Enter the network address and mask.
When configuring a virtual machine that uses Network Address Translation (NAT), you should apply the same firewall rule to the inbound ACL of the outside interface as you would to the outbound ACL of the inside interface. The destination must be the NAT address.
- Click Save. The Create Firewall Rules dialog box closes, and the Manage Firewalls dialog box remains open. You can add or change more firewall rules from the Manage Firewalls dialog box.
- Click Save on the Manage Firewalls dialog box to save all of your firewall rule changes. A confirmation dialog box asks for confirmation: All changes made to the firewall rules will be saved. Do you want to continue?
- Click Yes to save your changes or click No to return to the Firewall Rules dialog box.
Adding a rule for a distributed firewall
To create a new rule for a distributed firewall, select the Distributed Firewalls tab.
Click the Add Firewall Rule icon. The Add Firewall Rule dialog box is displayed.
- Select or enter values for the following options:
- Status - Indicates the status of the firewall rule. Selecting the option enables the firewall rule; clearing the checkbox disables it.
- Allow Traffic - Select the checkbox to permit traffic.
- Description - Enter a description for the rule.
- Log - Click this field to enable logging.
- Transport Protocol - Choose the required protocol, for example, TCP, UDP, and so on.
- Application Protocol - Select an application protocol or enter a single port number or port range (for example, 4000-4005) in the Port Range field.
- Source- Select one of the following for the source address:
- Host Address - Enter the host address.
- Network Address and Network Mask - Enter the network address and mask. If the network is attached to an interface (inside or outside), do not specify the host address or network address/mask as a source or a destination in a firewall rule for the outbound or inbound access control list (ACL).
- Destination- Select one of the following for the following for the destination address:
- Host Address - Enter the host address.
Network Address and Network Mask - Enter the network address and mask.
When configuring a virtual machine that uses Network Address Translation (NAT), you should apply the same firewall rule to the inbound ACL of the outside interface as you would to the outbound ACL of the inside interface. The destination must be the NAT address.
- Status - Indicates the status of the firewall rule. Selecting the option enables the firewall rule; clearing the checkbox disables it.
- Click Save. The Create Firewall Rules dialog box closes, and the Manage Firewalls dialog box remains open. You can add or change more firewall rules from the Manage Firewalls dialog box.
- Click Save on the Manage Firewalls dialog box to save all of your firewall rule changes. A confirmation dialog box appears stating, All changes made to the firewall rules will be saved. Do you want to continue?
- Click Yes to save your changes or click No to return to the Firewall Rules dialog box.
To edit a firewall rule
- From the Service Instances pane of My Cloud Services Console, double-click a service instance to display its server or servers.
Select a server and click the Manage Firewall Rules icon
.
The Manage Firewalls dialog appears.- On the Manage firewall rules panel,select the firewall to edit from the drop-down list.
- Select a rule.
- Click the Edit a Firewall icon to display the Edit Firewall Rule dialog box.
- Make your updates and Save them.
To delete a firewall rule
- From the Service Instances pane of My Cloud Services Console, double-click a service instance to display its server or servers.
- Select a server and click the Manage Firewall Rules icon
.
The Manage Firewalls dialog appears.
- On the Manage firewall rules panel, select the firewall to edit from the drop-down list.
- Select a rule.
- Click the Delete a Firewall icon to display the prompt.
- Complete the actions.