The OLS WebAdmin setting is the same regardless of whether you're on CyberPanel or OpenLiteSPeed as it's in the OLS console at port 7080, not in CyberPanel itself.
Go to Server Configuration → General → Use Client IP in Header and set it to Trusted IP Only. Then add all Cloudflare CIDRs to your access control
allowed list with a T suffix (marks them as trusted).
One thing worth knowing: if you also have deny ALL in your access control, setting Trusted IP Only will break it. OLS then evaluates deny ALL against
the real visitor IP instead of the Cloudflare source IP, and visitors get 403.
The fix is to leave Use Client IP in Header = No with deny ALL and instead update your access log format to capture CF-Connecting-IP directly:
%{CF-Connecting-IP}i proxy: %h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"
This gives you real IPs in logs, working deny ALL, and correct fail2ban parsing without changing the header setting.
Full walkthrough here: https://sajetekengineering.com/blog-article/how-to-allow-only-cloudflare-ips-on-openlitespeed-without-getting-403-errors/