Skip to main content
The installer opens only the host firewall (ufw) ports, and only when you pass LEVELRAIL_CONFIGURE_UFW=1. It never changes the cloud firewall, security group or network rules of your provider. You add those yourself, once per server. The dashboard shows the commands for the host firewall backend it detects (ufw, firewalld or iptables). The doctor check and the host firewall card in Settings report what is blocked. Neither can see your provider’s cloud firewall, see Host firewall and Doctor.

The rules

Skip the 8080 rule if you use an SSH tunnel. See Dashboard port 8080. In every command below, replace <your-ip> with your public address, for example 203.0.113.7. Replace names and IDs in angle brackets with your own.

DigitalOcean

Console: Networking, Firewalls, Create Firewall. Add the inbound rules from the table and apply the firewall to the Droplet.
A Droplet firewall blocks anything it has no rule for, so the outbound rules matter: the server needs them to pull images and reach Let’s Encrypt.

Hetzner

Console: Firewalls, Create Firewall, add the inbound rules, then Apply to your server.

AWS

Console: EC2, Security Groups, pick the group attached to the instance, Edit inbound rules.
Add --region <region> if it is not your default. The commands add IPv4 rules only.

Google Cloud

Console: VPC network, Firewall, Create firewall rule. Direction ingress, action allow, and a target tag you also put on the instance.
The instance needs the network tag levelrail-control-plane. The --network value is a placeholder if your project uses a custom VPC.

Oracle Cloud

Console: Networking, Virtual cloud networks, open your VCN, then the subnet’s Security List (or the network security group on the instance), Add Ingress Rules. Source CIDR 0.0.0.0/0, IP protocol TCP, destination port 80, then again for 443 and for UDP 443. For 8080 use <your-ip>/32. Oracle images also carry a host firewall, which is a second switch. The full steps are in Install on Oracle Cloud. For the oci CLI, check the provider docs for the flags: updating a security list replaces its whole rule set, so the console is safer for a first setup.

Azure

Console: Virtual machines, your VM, Networking, Network settings, Create port rule, Inbound port rule. This edits the network security group (NSG) of the VM.
Priorities must be unique in the NSG. Change them if a rule already uses 100, 110 or 120.

Check that it worked

From another machine, not the server:
Any HTTP response means port 80 is open. A timeout means a firewall is still blocking it. The CLI flags above were not run against real accounts for this page, so check the provider docs if a command is rejected.
Last modified on November 5, 2026