Title: Using X-Forwarded-For
Last modified: August 19, 2016

---

# Using X-Forwarded-For

 *  [veidit](https://wordpress.org/support/users/veidit/)
 * (@veidit)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/using-x-forwarded-for/)
 * Hello
 * I have just installed Varnish infront of my little blog, the problem I have is
   that now all comments and visits are from 127.0.0.1 and well that’s wrong 😉
   
   Is there some way to make wordpress and plugins use the X-Forwarded-For header
   that has the correct IP of the client.
 * I noticed Ticket #4602 but I am not sure if that is the right way to go.

The topic ‘Using X-Forwarded-For’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [veidit](https://wordpress.org/support/users/veidit/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/using-x-forwarded-for/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
