How can i port forward UDP from a Docker Container?
mufftee
PROOP

4 months ago

is there a way to forward a udp port from a docker container? I try to setup this voice mod for minecraft: https://modrepo.de/minecraft/voicechat/wiki/server_setup_self_hosted#with-docker

$10 Bounty

5 Replies

Railway
BOT

4 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


4 months ago

Hey, as mentioned earlier, the only option currently available is to create an account on Ngrok and use their tunnel service. Please be aware that you will be charged according to their rates.

I recommend following their documentation for Docker container implementation: https://ngrok.com/docs/using-ngrok-with/docker. The general setup process involves creating an account, obtaining a token, and then initiating the tunnel with UDP functionality. Let me know if you hit any roadblocks while doing the setup!


mufftee
PROOP

4 months ago

Hey @passos

thanks for the fast answer, but let me break it down:

1. Setup the Docker Container with Minecraft
2. Deploy Ngrok as a own Service
3. Start the Ngrok Container with the private networking as the address?
4. Connect through the Ngrok URLS to the server?

Did i get this right?


mufftee

Hey @passosthanks for the fast answer, but let me break it down:1. Setup the Docker Container with Minecraft2. Deploy Ngrok as a own Service3. Start the Ngrok Container with the private networking as the address?4. Connect through the Ngrok URLS to the server?Did i get this right?

4 months ago

Exactly, start the Ngrok container by pointing it to your Minecraft's Private Network address, and then use the UDP URLs provided by Ngrok .


passos

Exactly, start the Ngrok container by pointing it to your Minecraft's Private Network address, and then use the UDP URLs provided by Ngrok .

mufftee
PROOP

4 months ago

Okay, will try to set this up with TCP/UDP and let you know!


Loading...