Each instance comes with its own security group that can hold a list of firewall rules to restrict access to the instance. When the instance is launched for the first time, a default firewall is created within the security group that allows traffic on all (ALL) protocol and from all IPv4 addresses (0.0.0.0/0). The firewall rules can be managed in the Customer Portal under the Security tab of the instance overview page or via the API.
- Go to your Leaseweb Customer Portal account.
- From the menu, select Public Cloud, choose your instance, and click Manage instance.
- Go to the Security tab in the instance overview page.
- Click Change firewall rules. This interface allows you to add, delete and edit rules
- Click Add rule and provide the following details
- Name that identifies the rule (optional)
- Protocol for traffic to be allows (ALL, TCP, UDP, ICMP)
- Source Network is a single or range of IPv4 addresses provided in the form of CIDR notation (e.g. 1.1.1.1/32, for specifically only 1.1.1.1 IPv4 address)
- Destination Port Range is a port range from 1 to 65535
- Click Add
- When you are ready to update the firewall, click Submit.
- The security group of the instance gets updated with your changes