Skip to content

Cloudflare Tunnel (aka cloudflared)

Cloudflare Tunnel with Webmin

  • Add the following in /etc/webmin/config
referers=webmin-hostname.mydomain.com
  • Add the following in /etc/webmin/miniserv.conf
# Force the redirect to your public domain
redirect_host=your.domain.com

# Ensure it redirects to port 443 (standard HTTPS) instead of trying 10000
redirect_port=443

# (Optional) If Webmin is running on SSL locally (standard setup)
ssl=1
  • Update cloudflared configuration as follows:

yaml ingress: - hostname: your.domain.com service: https://localhost:10000 originRequest: # If Webmin uses a self-signed cert (standard), disable verification noTLSVerify: true # This ensures Webmin sees the domain name in the request httpHostHeader: your.domain.com - service: http_status:404