Open Fallen-Breath opened 10 months ago
as far as I know this is possible to let service a bind to port 25565 tcp and another service to 25565 udp, but this will be a pain and almost impossible to handle for hosts and on whmcs
this is not even possible to let service a bind to port 25565 tcp and another service to 25565 udp
It's possible
@Fallen-Breath how did you define the port allocation to split It by protocol?
In the allocation creation page, let the ports input support port format like
25565/tcp
,25565/udp
, indicating this allocation will only allocates the port withtcp
orudp
protocol
I have already described the example solution in the "Describe the solution you'd like" section of https://github.com/pterodactyl/panel/issues/4850#issue-1868083602
Is there an existing feature request for this?
Describe the feature you would like to see.
Here's a usage example for the feature request:
25565/tcp
25565/udp
on the node / using the panel, as a connection booster for the Minecraft serverCurrently it's not possible to do that, since wings assigns both 25565/tcp and 25565/udp to the Minecraft container. Although Minecraft only uses the tcp port, the udp port is still occupied by the container, and cannot be used by other containers / programs
https://github.com/pterodactyl/wings/blob/438e5fdbe9d78a6fc0e781748cabd183c444a57e/environment/allocations.go#L53-L57
The current workaround is to let the kcptun runs on another port rather than 25565. It's work-able, but it's far less elegant that just reusing the 2565 port number
Describe the solution you'd like.
In the allocation creation page, let the ports input support port format like
25565/tcp
,25565/udp
, indicating this allocation will only allocates the port withtcp
orudp
protocolIf the
/tcp
or/udp
suffix does not exist, then allocates bothtcp
orudp
protocol, which is the current behaviorAdditional context to this request.
No response