panel
panel copied to clipboard
Supports tcp and udp granularity for server port allocation
Is there an existing feature request for this?
- [X] I have searched the existing issues before opening this feature request.
Describe the feature you would like to see.
Here's a usage example for the feature request:
- I have a Minecraft server that listens on port
25565/tcp
- I want to setup a kcptun tunnel that listens on port
25565/udp
on the node / using the panel, as a connection booster for the Minecraft server
Currently 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 with tcp
or udp
protocol
If the /tcp
or /udp
suffix does not exist, then allocates both tcp
or udp
protocol, which is the current behavior
Additional context to this request.
No response
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
these are not working 19132/udp
this error is coming
any solution for that
these are not working 19132/udp
any solution for that
This issue is about a feature request. Stuffs like 19132/udp
currently does not exists in pterodactyl and is not available
So yeah, no solution for that for now, since this is the expected behavior