feat: Raw TCP/UDP port exposure for non-HTTP workloads #59
eliBenven
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Nexlayer currently routes all traffic through HTTP/HTTPS ingress. Many real-world workloads require raw TCP or UDP port forwarding without HTTP termination. Adding an
exposePorts(or similar) field to the launchfile spec would unlock an entire category of deployments that are currently impossible on the platform.Proposed API
servicePortscontinues to work as today (HTTP ingress routing)exposePortsforwards raw TCP/UDP to the pod without HTTP terminationUse Cases
1. Game Server Hosting
Game servers (Minecraft, The Isle, Valheim, ARK, CS2, Rust) communicate over raw UDP. Clients connect via
server-ip:portusing game-native protocols — not HTTP. Without UDP exposure, no multiplayer game server can accept player connections on Nexlayer.2. Direct Database Connections
Databases deployed on Nexlayer (Postgres, Redis, MongoDB) can only be accessed by other pods in the same deployment. External tools (pgAdmin, DataGrip, Redis CLI, application servers outside Nexlayer) cannot connect directly.
3. IoT / MQTT Brokers
IoT devices publish sensor data over MQTT (TCP 1883) or CoAP (UDP 5683). These protocols are not HTTP-based and can't go through an HTTP ingress.
4. VoIP / Media Servers
Real-time communication servers (Jitsi, Mumble, TeamSpeak) rely on UDP for low-latency audio/video. WebRTC TURN servers also need UDP exposure.
5. DNS / Authoritative Name Servers
Running a DNS server (e.g., CoreDNS, BIND) requires UDP 53 exposure.
Why This Matters
HTTP-only ingress positions Nexlayer exclusively for web apps. Adding raw port exposure opens the platform to game hosting, IoT, databases-as-a-service, and real-time communication — markets where API-driven provisioning (Nexlayer's strength) is a genuine differentiator vs. traditional providers.
References
Migrated from #56
Beta Was this translation helpful? Give feedback.
All reactions