Hostxpeed
Login Get Started →
Control Panel

How to Allow IP in HestiaCP Firewall

4 min read
25 views
Jun 12, 2026

Prerequisites

Before allowing an IP, make sure you have:

  • Admin access to HestiaCP
  • The IP address you want to allow

Method 1: Allow IP via HestiaCP Web Interface

Step 1: Log in to HestiaCP

https://YOUR_SERVER_IP:8083

Step 2: Navigate to SERVER → Firewall

Step 3: Add Firewall Rule

Click + Add Firewall Rule.

  • Action: ACCEPT
  • Protocol: ANY (or specific protocol)
  • Port: Leave blank for ALL ports
  • IP Address: Enter the IP (e.g., 203.0.113.50)
  • Comment: e.g., "Office IP"

Step 4: Save

Click Add.

Method 2: Allow IP via SSH (UFW)

Allow specific IP for all ports:

ufw allow from 203.0.113.50

Allow IP for specific port:

ufw allow from 203.0.113.50 to any port 22

Allow IP subnet:

ufw allow from 192.168.1.0/24

Allow Multiple IP Addresses

for ip in 203.0.113.50 203.0.113.51 203.0.113.52; do
    ufw allow from $ip
done

✅ IP has been allowed through the firewall.

Was this article helpful?