Creating New Firewall Rules
You can create different firewall rules for servers. The default policy for a newly created server is to allow all incoming and outgoing traffic. Once you set up the first firewall rule, the policy changes and all traffic is denied, except for the destinations defined by the firewall rule.
To create a firewall rule:
- On the Home tab, under More Services, click Cloud Infrastructure.
- Click the name of the server you want to set the rule for.
- Click the Firewall tab, and then click Add.
- Set the parameters for the firewall rule:
- Name. Specify a name for the rule.
- Remote IP. Specify IP addresses to allow traffic for these IP addresses to and from the server. You can apply the rule to all IP addresses, a range of IP addresses (both IPv4 and IPv6 addresses), a network (the IP address should end with 0, for example, the IP address 10.1.1.0, the netmask 255.255.255.0), or a specific IP address.
- Protocol. Specify a protocol suite for allowed connections.
- Remote Port. Specify remote ports for allowed connections.
- Local Port. Specify local ports for allowed connections.
- Click Add to create the rule.
To revert to the default policy (that is, to allow all incoming and outgoing traffic), delete all existing firewall rules for the server.