#Need to expose TCP port 55230 to the internet. What are my options?

1 messages · Page 1 of 1 (latest)

sinful stump
#

I'm building an addon for OpenCarwings. I have it mostly working, but the car TCU needs to connect to the server port 55230 (can't be changed) via TCP.

I have the port listening in the network, but I need to expose the raw TCP port.

I have tried several ways to achieve this.

  • Cloudflare. Creating a tunnel to tcp://homeassistant:55230. It didn't work. It seems that Cloudflare doesn't allow exposing a port publicly. It can be done with Cloudflared, but only in the client. I cannot install Cloudflared in the car TCU.
  • Tailscale Funnel. I've tried the community addon, which has Funnel support, but it seems it works only to expose HA ports, not an arbitrary one. I'd need Tailscale CLI access for that, and the addon doesn't include it AFAIK.
  • FRP addon. It needs an external server. Pass.

I'm really not an expert in this field, and I'm helping myself with AI a lot, but I feel stuck. Any idea will be appreciated.

solemn geyser
#

Could you not port forward it on your router?

sinful stump
#

I'd rather avoid that for security

#

I'm working on packing tailscale CLI within the addon