-
Notifications
You must be signed in to change notification settings - Fork 258
Integrated User Interface Feature
Heisenbug edited this page Mar 5, 2026
·
1 revision
Home · Start Here · Reference Map
- CSF can expose an integrated HTTPS admin UI managed by LFD.
- Successful UI login grants high privilege; treat as a sensitive admin surface.
- Correct SSL files, allowlisting, and port selection are required for reliable access.
Related guide: Integrations-Guide
The integrated UI runs in the CSF/LFD stack and is intended for administrative use.
Because this interface can provide root-level control after authentication, keep exposure minimal:
- bind narrowly where possible
- allowlist only trusted source IPs
- avoid broad internet exposure without extra controls (VPN/reverse proxy/tunnel)
openssl- Perl SSL modules (for example
Net::SSLeay,IO::Socket::SSL) - UI certificate and key files
- Explicit client allowlist entries
-
/etc/csf/csf.conf(UI settings) /etc/csf/ui/server.key/etc/csf/ui/server.crt/etc/csf/ui/ui.allow/etc/csf/ui/ui.ban/var/log/lfd.log
- Enable/configure UI settings in
csf.conf:
UI = "1"
UI_PORT = "8750"
UI_IP = ""
UI_USER = "<strong-admin-user>"
UI_PASS = "<strong-admin-password>"- Add trusted client IPs to
/etc/csf/ui/ui.allow(one per line):
127.0.0.1
203.0.113.10
- Reload services:
csf -ra- Open the UI:
https://<server-or-domain>:8750
The historical default port 6666 is commonly treated as restricted/unsafe by modern browsers (for example ERR_UNSAFE_PORT or “This address is restricted”).
Use a different high, unprivileged port (for example 8750) to avoid browser-level blocking.
Check service state:
systemctl status lfd 2>/dev/null || service lfd status
systemctl status csf 2>/dev/null || service csf statusCheck logs while attempting login:
tail -n 100 /var/log/lfd.logTypical deny message:
UI: Access attempt from an IP not in /etc/csf/ui/ui.allow - denied [x.x.x.x]
-
Using default credentials: set strong non-default
UI_USER/UI_PASS. - Wrong source IP allowlisted: especially when behind NAT, proxies, or tunnels.
-
Browser-blocked port: switch away from
6666. - Missing SSL dependencies/files: verify modules and cert/key paths.
-
Overexposed listen scope: keep
UI_IP, firewall rules, and ingress controls tight.
- Use a dedicated admin-only ingress path.
- Keep
ui.allowshort and audited. - Rotate credentials periodically.
- Review
/var/log/lfd.logafter each policy change.
See also: UI Skinning and Mobile View
Last reviewed: 2026-02-25
← Previous: Port/IP address Redirection · Next: IP Block Lists
- Security Features Guide
- Cloud & Container Hardening
- Automation & IaC
- IPv6 Deployment & Hardening
- IP Block Lists
- Reference Map
- Introduction
- csf Principles
- lfd Principles
- csf CLI Options
- lfd CLI Options
- Login Tracking
- Regex Custom Cookbook
- Script Email Alerts
- Process Tracking
- Directory Watching
- Advanced Filters
- Multiple Ethernet
- Generic Linux
- FTP Issues
- Messenger Service
- Block Reporting
- Port Flood
- Pre/Post Scripts
- Port Knocking
- Connection Limit
- Port/IP Redirect
- Integrated UI
- RESTRICT_SYSLOG
- Exim SMTP AUTH
- UI Skinning
- InterWorx
- CentOS Web Panel