🚧 Restrict Control Panel Access via Firewall
To enhance your server’s security, it is highly recommended to restrict access to the control panel (such as ISPmanager, VestaCP, HestiaCP, etc.) to trusted IP addresses only. This can be done using UFW or iptables.
🔐 Step 1: Identify Your Panel Port
Determine which port your control panel uses:
- ISPmanager — 1500
- VestaCP — 8083
- HestiaCP — 8083
- Webmin — 10000
- Ajenti — 8000
🧱 Step 2: Allow Access from Your IP Only
Using UFW (Ubuntu/Debian):
sudo ufw allow from YOUR_IP to any port 1500 proto tcp
Using iptables (CentOS/AlmaLinux):
sudo iptables -A INPUT -p tcp -s YOUR_IP --dport 1500 -j ACCEPT sudo iptables -A INPUT -p tcp --dport 1500 -j DROP
📌 Security Tips
- 🛡️ Use a VPN for accessing your control panel for added security;
- 🧑💼 Avoid logging in over public Wi-Fi without proper encryption;
- 🔁 Monitor IP logs of panel access regularly;
- 🧼 Remove outdated rules when changing your IP;
- 🔄 Restart UFW or iptables after applying changes.
If you have trouble setting up access restrictions — contact Bit.Hosting support. We’ll help you configure everything securely!