From b5fae8bb733d43faa7804168c950918cfddb1827 Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Sun, 4 Dec 2022 11:09:15 +0000 Subject: [PATCH] add settings to default settings.js file --- packages/node_modules/node-red/settings.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/node_modules/node-red/settings.js b/packages/node_modules/node-red/settings.js index ec247a672..5b4cb429e 100644 --- a/packages/node_modules/node-red/settings.js +++ b/packages/node_modules/node-red/settings.js @@ -441,6 +441,8 @@ module.exports = { * - socketReconnectTime * - socketTimeout * - tcpMsgQueueSize + * - tcpInAllowInboundConnections + * - udpInAllowInboundConnections * - inboundWebSocketTimeout * - tlsConfigDisableLocalFiles * - webSocketNodeVerifyClient @@ -509,6 +511,16 @@ module.exports = { */ //tcpMsgQueueSize: 2000, + /** Permit TCP nodes to expose inbound connections. Set value to `false` to disable the inbound modes. + * defaults to true + */ + //tcpInAllowInboundConnections: true, + + /** Permit UDP nodes to expose inbound connections. Set value to `false` to disable the inbound modes. + * defaults to true + */ + //udpInAllowInboundConnections: true, + /** Timeout in milliseconds for inbound WebSocket connections that do not * match any configured node. Defaults to 5000 */