# IP addresses are not correct in my installation

**URL:** https://meta.discourse.org/t/ip-addresses-are-not-correct-in-my-installation/105366
**Category:** Support
**Created:** [12월 31, 2018, 12:10오후 UTC](https://meta.discourse.org/t/ip-addresses-are-not-correct-in-my-installation/105366 "2018-12-31T12:10:16Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [1월 2, 2019, 2:33오전 UTC](https://meta.discourse.org/t/ip-addresses-are-not-correct-in-my-installation/105366/7 "2019-01-02T02:33:51Z")

</div>

`192.168.1.134` is a private IP, you are basically saying you want REMOTE ADDR to be some arbitrary private IP address here.

Rack does not like it when you forward for private IP addresses per:

> <https://github.com/rack/rack/blob/main/lib/rack/request.rb#L20>

So if you want special treatment there and to allow multiple users in a LAN all to be treated as if they have different private IPs there is some rack patching needed which you would need to do in a plugin.

You basically need to set `Rack::Request.ip_filter = lambda { |ip| false }` in a very simple plugin.

---

_[View the full topic](https://meta.discourse.org/t/ip-addresses-are-not-correct-in-my-installation/105366)._
