-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forward UDP packet along same port? #189
Comments
It would need to interpret the RakNet protocol that bedrock uses on UDP to correctly route the datagrams to the associated backend. Worse still it would have to interpret and track every single datagram unlike the simplicity of Java edition's TCP stream based connections. What's doable is if all you want is a "route all UDP traffic on the specified port to one backend". |
wait seriously? its that damn complicated?! hmm... for bedrock a service like "geyserconnect" can be used for navigation, so an so... proposed method of {
// this being anything but "" causes router to
// listen on port 19132 and forward traffic on that
// port to the bedrock container
"bedrock" : "bedrock-container:19132"
"mappings": {
// base, proxies tcp by default, UDP if possible
// (PlasmoVoice or SimpleVoice)
"example.com": "example:25565"
}
} |
Just noticed in the geyserconnect config there is this section at the bottom # Enable virtual hosts to be specified to skip the server list
# Allows people to connect using addresses like
# hypixel.net._p25565.example.com
# hypixel.net.example.com
# hypixel.net._o.example.com - For offline mode
vhost:
enabled: true
base-domain: geyser.merith.xyz |
Popping in to say I have this same use-case and wondering what the current situation is. Seeing that UDP/Bedrock support might be out of scope for this project is there a better method/proxy for this? It would be helpful to add something like that to the docs/wiki even if it's not made by the same team behind your containers itzg. I can manage by opening 19132 on the container I use geyser in as at the moment i don't need it for more than one of my server, but that may change in the future. |
I still haven't come across one, but would be very glad to add that as a pointer in the docs. I'm now thinking that searching for "raknet proxy" might be a good tactic since I believe that's the protocol/library on UDP that Bedrock is using. BTW, team? 😀 It's just me...and a bunch of contributors. The sentiment makes me happy though. |
Well ykno, contributors, team, same thing right? I appreciate you a ton. Thanks for your work :) |
Would it be possible to add an
--enable-udp
flag that allows proxying UDP traffic to the server?probably listens on port for TCP and UDP then routes,
and you could specify container port for udp traffic like so
The text was updated successfully, but these errors were encountered: