1. Overview

This runbook describes how to expose the ISPConfig control panel (running on localhost:8080) securely through Cloudflare Tunnel using an HTTP-only Apache origin. All examples use generic hostnames like panel.example.com.

2. Prerequisites

  • ISPConfig panel reachable at http://localhost:8080
  • Cloudflare Tunnel installed
  • Apache2 installed

3. Cloudflare DNS

  • Type: CNAME
  • Name: panel
  • Target: <tunnel-name>.cfargotunnel.com
  • Proxy: Enabled

4. cloudflared config.yml

ingress:
  - hostname: panel.example.com
    service: http://localhost:8080

  - hostname: admin.example.com
    service: http://localhost:8081

  - hostname: apps.example.com
    service: http://localhost:8081

  - service: http_status:404

5. Apache Configuration

5.1 ports.conf

Listen 80
Listen 443
Listen 8080

5.2 ISPConfig vhost


    ServerAdmin webmaster@localhost
    DocumentRoot /usr/local/ispconfig/interface/web

    
        Options FollowSymLinks
        AllowOverride None
        Require all granted
    



    SSLStaplingCache shmcb:/var/run/ocsp(128000)

6. Cloudflare Tunnel Routes

Cloudflare Tunnel “Routes” are not required for web applications. They are only used for private network CIDR routing (e.g., 10.0.0.0/24). The ISPConfig panel should be exposed only through ingress rules.

7. Validation

curl -v https://panel.example.com

8. Summary

This configuration exposes ISPConfig securely through Cloudflare Tunnel using an HTTP-only origin.