# Issues with Crowdsec WP Plugin and Openlitespeed

**URL:** <https://discourse.crowdsec.net/t/issues-with-crowdsec-wp-plugin-and-openlitespeed/1071>\
**Category:** Uncategorized\
**Created:** [December 11, 2022, 10:03pm UTC](https://discourse.crowdsec.net/t/issues-with-crowdsec-wp-plugin-and-openlitespeed/1071 "2022-12-11T22:03:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rhandyx](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/rhandyx/32/493_2.png) [@Rhandyx](https://discourse.crowdsec.net/u/Rhandyx)\
**Post date:** [December 11, 2022, 10:03pm UTC](https://discourse.crowdsec.net/t/issues-with-crowdsec-wp-plugin-and-openlitespeed/1071/1 "2022-12-11T22:03:24Z")

</div>

I Not know if crowdsec plugin is designed to work with OpenLiteSpeed server

**First scenario I have disable cloudflare proxy mode**

I have got the logs on /wp-content/plugins/crowdsec/logs

`> I have cloudflare my correct ip server logs and crowdsec logs`

I have try some wrong logins for test purposes but never show me any captcha or ban.

* * *

**Second scenario cloudflare proxy ON**  
– I have cloudflare IPs on Server logs  
– I add cloudflare range Ips on advanced settings of crowdsec plugin  
– I have correct Ip on /wp-content/plugins/crowdsec/logs but wrong Ip on server logs

I have try some wrong logins for test purposes but never show me any captcha or ban.

* * *

**Third scenario cloudflare proxy On**  
– I have config openlitespeed to direct get forward ips like in this [tutorial](https://openlitespeed.org/kb/show-real-visitor-ip-instead-of-cloudflare-ips/)

– I have Real Ips on server log  
– I have delete cloudflare range ips on advanced crowdsec tab  
– I have correct Ip addreess on server log  
– I have errors on /wp-content/plugins/crowdsec/logs

2022-12-11T21:20:07.399542+00:00|300|{“type”:“NON\_AUTHORIZED\_X\_FORWARDED\_FOR\_USAGE”,“original\_ip”:“95.154.x.x”,“x\_forwarded\_for\_ip”:“95.154.x.x”}  
2022-12-11T21:20:07.399995+00:00|200|{“type”:“CLEAN\_VALUE”,“scope”:“Ip”,“value”:“95.154.x.x”,“cache”:“miss”}  
2022-12-11T21:20:07.400199+00:00|200|{“type”:“FINAL\_REMEDIATION”,“ip”:“95.154.x.x”,“remediation”:“bypass”}

\_

I not found any log on for WP

> /var/log/crowdsec.log

> #cscli bouncers list  
> ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────  
> Name IP Address Valid Last API pull Type Version Auth Type  
> ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────  
> FirewallBouncer-1670687690 127.0.0.1 ✔ 2022-12-11T22:03:03Z crowdsec-firewall-bouncer v0.0.24-debian-pragmatic-8e00af2c9e83af22deab8c0c49a4ad9b8fc57a3f api-key  
> wordpress-bouncer 127.0.0.1 ✔ 2022-12-11T21:29:50Z WordPress CrowdSec Bouncer v1.10.0 api-key  
> ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
