Title: IP Source
Last modified: October 27, 2017

---

# IP Source

 *  Resolved Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/ip-source/)
 * Hi Paul,
 * I have selected X_Real_IP as my ip source as per recommendation from my cdn host.
   The ip shown for this displays my ip correctly.
 * The issue is i have saved this setting, but the following day when i checked 
   it reverted back to REMOTE_ADDR (not auto detect).
 * Not sure why this is happening as it should work me?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/ip-source/#post-9643401)
 * Is the address shown for REMOTE_ADDR currently incorrect?
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/ip-source/#post-9649244)
 * Hi Paul,
 * I’ve since changed my cdn setup so now i only have 1 option for the ip source
   which is displaying correctly.
 * But with the previous setup, just in case this helps anyone later on, i had 3
   ip sources all showing the correct address in Shield. But when i selected x_real_ip
   it would always return back to remote_addr for some reason?
 * Not sure if this is a bug or not, but my cdn provider told me to use x_real_ip
   which is why i selected it initially.
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/ip-source/#post-9649438)
 * For the purposes of Shield, this really shouldn’t have any impact on your CDN.
 * If they’re all returning the same, then REMOTE_ADDR is the one to pick. Of them
   all, it’s the only one that cannot be spoofed by fake HTTP Headers.
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/ip-source/#post-9649618)
 * > it’s the only one that cannot be spoofed by fake HTTP Headers
 * Didn’t know that, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘IP Source’ is closed to new replies.

 * ![](https://ps.w.org/wp-simple-firewall/assets/icon-256x256.png?rev=3054572)
 * [Shield Security – Smart Bot Blocking, Brute-Force Login Protection & File Scanning](https://wordpress.org/plugins/wp-simple-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-simple-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-simple-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-simple-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-simple-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-simple-firewall/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: Anonymous User 14978628
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/ip-source/#post-9649618)
 * Status: resolved