Firewall
The server firewall uses UFW. Its interface supports installation, enabling or disabling, listing rules, and adding or deleting rules.
Prepare
Open firewall in server details and load its state. If UFW is missing, install it and verify the result. Before enabling it, ensure the required SSH port and access sources remain allowed.
Installation allows ports 80 and 443 from anywhere and SSH on port 22 only from the configured Grape Cloud IP address. For personal SSH access, add a rule for port 22, TCP, and your public IP address. Add separate rules for multiple addresses or use a CIDR network. You can remove the cloud rule; enabling the firewall or adding other rules will not restore it. Removing it may prevent fallback management over SSH when the QEMU agent is unavailable.
Add a rule
- Enter a port between 1 and 65535.
- Select TCP or UDP according to the service.
- Enter a source IP address or CIDR network; for unrestricted sources use the value supported by the form.
- Save and refresh the rules.
- Test access from the expected client.
Opening a port does not start a service. The service must listen on the correct address and be reachable through any other network components.
Change and remove
Select rules for deletion from the current list. Numbering may change after deletion; refresh before the next action. Disabling the firewall changes protection for all server services.
Lost access
If SSH is blocked, use the available VNC console to fix configuration inside the server, or contact support. Plan changes with a working alternative access path.