Troubleshooting Common Issues with the cPFence WebUI

If you're experiencing problems accessing or using the cPFence WebUI, the following are the most common issues along with steps to resolve them.

1. Host Key Verification Failed

Important: This passwordless login step must be completed for all your servers.

This occurs during the first SSH connection attempt. To fix it, simply run:

ssh root@your-server-ip

Type yes when prompted to trust the server.

2. Sudo Users Not Supported

The WebUI must be run as the root user. Sudo users are not supported at this time.

3. SSH Port Must Be 22

Custom SSH ports are not currently supported by the WebUI. Please ensure your server allows SSH connections on port 22.

4. IPv6 Access Issue

If you’re using IPv6 and unable to access the UI, you may need to modify the allowed IPs list:

nano /opt/cpfence/webui/allowed_ips.txt

Remove the line that contains ::1 and then restart the WebUI:

cpfence --restart-webui

5. Accessing WebUI While Behind Cloudflare

If your main control panel is behind Cloudflare, port 9095 might be blocked. To access the WebUI, use the server’s direct IP address instead:

http://your-server-ip:9095/

Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 1 Users Found This Useful
Was this answer helpful?