Hostinger Managed apps: How to set up and manage a firewall

Control which traffic reaches your Managed app by creating a firewall and adding Accept rules.

Updated 2 days ago

A Hostinger Managed apps firewall controls which incoming traffic can reach your OpenClaw, Hermes, n8n, or Paperclip app on its microVM. Each app can have one firewall with up to 100 Accept rules. When the firewall is on, it blocks all incoming traffic that doesn’t match an Accept rule, including traffic to your app’s website. To protect your app, create a firewall, add Accept rules for the ports you use, and turn the firewall on.

Before you start

How to create a firewall in Hostinger Managed apps

Create a firewall from the Firewall page of your app. Each Hostinger Managed app can have only one firewall, so the Create firewall button is unavailable once a firewall exists. To create a different firewall, delete the existing one first.

  1. In the Hostinger dashboard, go to Managed apps in the left sidebar and click Manage to open your app.
  2. Select Firewall in the left menu. To switch apps, use the Select app menu at the top of the left menu.
  3. Click Create firewall.
  4. Enter a name that describes what the firewall allows, such as Office IP only or Webhooks only.
  5. Click Create.

The Firewall configuration page opens. It shows the firewall’s name, number of rules, created date, and last updated date.

How to add firewall rules in Hostinger Managed apps

Add an Accept rule for each port your app needs, because the firewall blocks all other incoming traffic by default. For example, add port 22 for SSH, and ports 80 and 443 for your app’s website.

Each rule has five settings:

  • Action: Accept allows traffic that matches the rule.
  • Protocol: Any, UDP, TCP, ICMP, or ICMPv6.
  • Port or range: a port number or port range. This field is optional.
  • Source: Anywhere allows traffic from any IP address. Custom limits the rule to the IP addresses you enter in Source details.
  • Source details: an IP address or a CIDR range, such as 185.185.185.185 or 185.185.185.0/24.

To add a rule:

  1. On the Firewall configuration page, go to Add firewall rule.
  2. The action is fixed to Accept. Choose the Protocol and Source, then enter the port and source details if needed.
  3. Click Add rule.

The rule appears in the rules table. The table always includes a Default rule that drops all traffic not allowed by your Accept rules.

Add Accept rules for ports 80 and 443 before you turn on the firewall, or your app’s website stops receiving traffic.

How to turn a Hostinger Managed apps firewall on or off

Turn the firewall on or off with the toggle next to its name on the Firewall page. A new firewall stays off until you turn it on, so add your rules first.

  1. On the Firewall configuration page, click Firewall in the breadcrumb at the top.
  2. Click the toggle next to your firewall.

How to edit, rename, or delete a Hostinger Managed apps firewall

Manage your firewall from the ⋮ menu next to it on the Firewall page, or from the Firewall configuration page.

  • To change the rules, click ⋮ next to the firewall on the Firewall page and select Edit rules. The Firewall configuration page opens.
  • To change a rule, click Edit next to it. To remove a rule, click the trash icon next to it.
  • To rename the firewall, click the pencil icon next to its name on the Firewall configuration page, enter a new name, and click Save.
  • To delete the firewall, click ⋮ next to it on the Firewall page and select Delete, or click Delete in the Firewall details section of the Firewall configuration page.

Your Hostinger Managed app now accepts only the incoming traffic your rules allow while the firewall is on. Review the rules whenever you start using a new port or need to allow a new IP address.