#  Gateway port protection

**URL:** <https://discourse.nodered.org/t/gateway-port-protection/79737>\
**Category:** Industrial\
**Tags:** modbus\
**Created:** [11 July 2023 14:50 UTC](https://discourse.nodered.org/t/gateway-port-protection/79737 "2023-07-11T14:50:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabio.amorim](https://avatars.discourse-cdn.com/v4/letter/f/aca169/32.png) [@fabio.amorim](https://discourse.nodered.org/u/fabio.amorim)\
**Post date:** [11 July 2023 14:50 UTC](https://discourse.nodered.org/t/gateway-port-protection/79737/1 "2023-07-11T14:50:13Z")

</div>

Hello everyone, I would like to know if it is possible to implement in node-RED a way to authenticate or make the serial connection safer for a Modbus rtu communication, in case a person connects another device with the same address and causes an error.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 July 2023 16:00 UTC](https://discourse.nodered.org/t/gateway-port-protection/79737/2 "2023-07-11T16:00:43Z")

</div>

Hi, this is not clear at all sorry.

What are you trying to protect - access to Node-RED?

As I am sure you know, ModBus RTU is a serial comms and it has no concept of security so you cannot stop anyone connecting another device (unless it is physically protected)

* * *

> [@fabio.amorim](#):
>
> in node-RED a way to authenticate

Access to Node-RED can be secured by editing your settings file: [Securing Node-RED : Node-RED](https://nodered.org/docs/user-guide/runtime/securing-node-red)

> [@fabio.amorim](#):
>
> make the serial connection safer for a Modbus rtu communication

Physical locks?

> [@fabio.amorim](#):
>
> in case a person connects another device with the same address

another what kind of device? A modbus device? another node-red?

---

<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:** [9 September 2023 16:01 UTC](https://discourse.nodered.org/t/gateway-port-protection/79737/3 "2023-09-09T16:01:36Z")

</div>

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