# Limit dashboard access by client IP?

**URL:** <https://discourse.nodered.org/t/limit-dashboard-access-by-client-ip/42285>\
**Category:** Dashboard\
**Created:** [8 March 2021 22:41 UTC](https://discourse.nodered.org/t/limit-dashboard-access-by-client-ip/42285 "2021-03-08T22:41:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtaylor](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jtaylor](https://discourse.nodered.org/u/jtaylor)\
**Post date:** [8 March 2021 22:41 UTC](https://discourse.nodered.org/t/limit-dashboard-access-by-client-ip/42285/1 "2021-03-08T22:41:06Z")

</div>

Is it possible to restrict what client IP addresses can connect to the Node-RED dashboard (e.g. [http://127.0.0.1:1880](http://127.0.0.1:1880))?

TIA

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [9 March 2021 07:38 UTC](https://discourse.nodered.org/t/limit-dashboard-access-by-client-ip/42285/2 "2021-03-09T07:38:56Z")

</div>

Yes, you can use a firewall. Google for how to use a firewall on the OS that node red is running on.

---

<div class="post-metadata">

**Author:** ![jtaylor](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jtaylor](https://discourse.nodered.org/u/jtaylor)\
**Post date:** [9 March 2021 13:56 UTC](https://discourse.nodered.org/t/limit-dashboard-access-by-client-ip/42285/3 "2021-03-09T13:56:07Z")

</div>

So Node-RED can't do it, and it would have to be handled externally, correct?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [9 March 2021 14:16 UTC](https://discourse.nodered.org/t/limit-dashboard-access-by-client-ip/42285/4 "2021-03-09T14:16:36Z")

</div>

I don't think node red can do it but a firewall can, that is what firewalls are for. Assuming that you want to block both the editor and the dashboard that is. If you only want to block the dashboard I am not sure how to do it.

However, I notice that you said you want to block the dashboard but gave the url of the editor, so I am not entirely sure what you want to do. Certainly blocking external access to port 1880 except from particular IPs should be simple.

---

<div class="post-metadata">

**Author:** ![jtaylor](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jtaylor](https://discourse.nodered.org/u/jtaylor)\
**Post date:** [9 March 2021 15:26 UTC](https://discourse.nodered.org/t/limit-dashboard-access-by-client-ip/42285/5 "2021-03-09T15:26:18Z")

</div>

I thought 1880 was the dashboard. My bad.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 March 2021 15:26 UTC](https://discourse.nodered.org/t/limit-dashboard-access-by-client-ip/42285/6 "2021-03-23T15:26:35Z")

</div>

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