# Hoe-te de rate limiting per ip-adres uit te schakelen of aan te passen?

**URL:** https://meta.discourse.org/t/how-to-disable-or-tune-rate-limiting-by-ip-address/256064
**Category:** Support
**Created:** [23 februari 2023 om 14:44 UTC](https://meta.discourse.org/t/how-to-disable-or-tune-rate-limiting-by-ip-address/256064 "2023-02-23T14:44:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![albjeremias](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albjeremias/32/210231_2.png) [@albjeremias](https://meta.discourse.org/u/albjeremias)
#### Post date: [23 februari 2023 om 14:44 UTC](https://meta.discourse.org/t/how-to-disable-or-tune-rate-limiting-by-ip-address/256064/1 "2023-02-23T14:44:16Z")

</div>

I have multiple users sharing the same ip address using my discourse instance, how do I tune the rate limiting on the new discourse 3? i dont think this has very good default values, they seem to low. i didn’t get this problem with the previous version

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/a/8/8a8bd199977f69c91b203f18a477f2e785958479.png)

![image](https://global.discourse-cdn.com/meta/original/4X/5/7/2/572c0a73eaca38fee0e829c6c1a85d538aad4cd5.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/2/3/5233c720d971e00a4fa0016448ed87831471b488.png)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [23 februari 2023 om 18:49 UTC](https://meta.discourse.org/t/how-to-disable-or-tune-rate-limiting-by-ip-address/256064/2 "2023-02-23T18:49:40Z")

</div>

You can set these in your ENV section in `app.yml`.

```plaintext
  DISCOURSE_MAX_REQS_PER_IP_PER_10_SECONDS: 200
  DISCOURSE_MAX_REQS_PER_IP_PER_MINUTE: 400

```

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [24 februari 2023 om 15:40 UTC](https://meta.discourse.org/t/how-to-disable-or-tune-rate-limiting-by-ip-address/256064/3 "2023-02-24T15:40:18Z")

</div>

For your information, there is documentation about rate limits:

> [@Available settings for global rate limits and throttling](https://meta.discourse.org/t/available-settings-for-global-rate-limits-and-throttling/78612):
>
> Discourse ships with 3 different global rate limits that can be configured by site admins. Global per-ip rate limits These limits apply to every unique IP address that hits the Discourse application. (files that are served directly from the filesystem or the CDN are excluded) By default this rate limit is enabled, you may disable it or set it to a reporting mode. DISCOURSE\_MAX\_REQS\_PER\_IP\_MODE : default block, this rate limit applies out of the box. (other options are warn, warn+block, and n…

It’s easily found by using the search. First result ✌

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/9/b/c9bb14710b0514684cc33fe82804891ee1a75dd1.png)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [26 maart 2023 om 15:40 UTC](https://meta.discourse.org/t/how-to-disable-or-tune-rate-limiting-by-ip-address/256064/4 "2023-03-26T15:40:46Z")

</div>

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