# Difference in ip and client\_ip in logs

**URL:** <https://community.auth0.com/t/difference-in-ip-and-client-ip-in-logs/35903>\
**Category:** Get Help\
**Tags:** client, ip\
**Created:** [January 7, 2020, 3:34am UTC](https://community.auth0.com/t/difference-in-ip-and-client-ip-in-logs/35903 "2020-01-07T03:34:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![reddypradip2010](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/reddypradip2010/32/13390_2.png) [@reddypradip2010](https://community.auth0.com/u/reddypradip2010)\
**Post date:** [January 7, 2020, 3:34am UTC](https://community.auth0.com/t/difference-in-ip-and-client-ip-in-logs/35903/1 "2020-01-07T03:34:43Z")

</div>

I can see customer login success with two ip address  
ip → printing auth0-forwarded-for ip address.. of customer  
client\_ip → printing my IP aws ip address.

whats the diffference in ip and client\_ip?

I did this

1. enabled the forward-ip headers in tenant
2. passing auth0-forwarded-for header in api reqeust to login

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 7, 2020, 10:21am UTC](https://community.auth0.com/t/difference-in-ip-and-client-ip-in-logs/35903/3 "2020-01-07T10:21:53Z")

</div>

Hey there!

Don’t know it yet but I’m more than happy to find it out for you!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 8, 2020, 12:44pm UTC](https://community.auth0.com/t/difference-in-ip-and-client-ip-in-logs/35903/4 "2020-01-08T12:44:59Z")

</div>

Did some Internet research and found out that:

- **ip** - is your local IP address
- **client\_ip** - the ip the rest of the world sees

and those two are of course different as you’ve probably seen.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 23, 2020, 12:45pm UTC](https://community.auth0.com/t/difference-in-ip-and-client-ip-in-logs/35903/5 "2020-01-23T12:45:01Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
