            expiryTime: dbInbound.expiryTime,

                    listen: inbound.listen,
                    port: inbound.port,
                    protocol: inbound.protocol,
                    settings: inbound.settings.toString(),
                };
                if (inbound.canEnableStream()){
                  data.streamSettings = inbound.stream.toString();
                } else if (inbound.stream?.sockopt) {
                  data.streamSettings = JSON.stringify({ sockopt: inbound.stream.socko