# Como desabilitar o acesso para quem não vem de um endereço IP específico

**URL:** <https://meta.discourse.org/t/how-to-disable-access-to-anyone-not-coming-from-a-specific-ip-address/114907>\
**Category:** Self-hosting\
**Created:** [Abril 13, 2019, 1:02am UTC](https://meta.discourse.org/t/how-to-disable-access-to-anyone-not-coming-from-a-specific-ip-address/114907 "2019-04-13T01:02:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sat](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@sat](https://meta.discourse.org/u/sat)\
**Post date:** [Abril 13, 2019, 4:20am UTC](https://meta.discourse.org/t/how-to-disable-access-to-anyone-not-coming-from-a-specific-ip-address/114907/4 "2019-04-13T04:20:06Z")

</div>

> [@codinghorror](#):
>
> If you use the setup wizard that launches after first install, you can select a private instance in one of the first steps. If you need to re-run the wizard you can do so at `/wizard`

This will not show posts to users I want, they need to login to see content. It is similar to enabling 2 options which I mentioned in my above post.

> [@pfaffman](#):
>
> If you really want to limit access by ip then you could use iptables or nginx rules.

I dont know how to do that. could you please provide steps.

---

_[View the full topic](https://meta.discourse.org/t/how-to-disable-access-to-anyone-not-coming-from-a-specific-ip-address/114907)._
