Quantcast
Channel: WordPress.org Forums » [Wordfence Security - Firewall, Malware Scan, and Login Security] Support
Viewing all articles
Browse latest Browse all 33113

X-Forwarded-For Not Honored

$
0
0

Replies: 1

Hi All,

I have a load balanced website that is having trouble getting the correct IP address. When WordFence tries to guess the IP, it consistently returns the load balancer’s IP, not the client’s IP. I have manually set WordFence to ” Use the X-Forwarded-For HTTP header. Only use if you have a front-end proxy or spoofing may result.” and it still doesn’t work.

I’ve configured the load balancer to send the X-Forwarded-For header, which shows up in PHP as $_SERVER['HTTP_X_FORWARDED_FOR']. However, wordfence doesn’t see the IP address, and instead incorrectly uses the load balancer’s IP.

This affects me because when someone tries to brute force the website or do username enumeration, it locks all admins out since they all appear to be coming from F5 / BigIP. We use IIS 8.5.

  • This topic was modified 2 hours, 30 minutes ago by kkeiperssc.

Viewing all articles
Browse latest Browse all 33113

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>