[GH-ISSUE #3866] multiple ports for inbound #2616

Closed
opened 2026-10-31 20:26:44 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @FDeghy on GitHub (Feb 26, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3866

Describe the bug

Based on https://github.com/XTLS/Xray-core/pull/4968, we need to have multiple or a range of ports in tunnel inbound (simply a string, not an int); then we can use portMap, otherwise it's useless.

How to repeat the problem?

Expected action

No response

Received action

No response

3x-ui Version

2.8.10

Xray-core Version

No response

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @FDeghy on GitHub (Feb 26, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3866 ### Describe the bug Based on https://github.com/XTLS/Xray-core/pull/4968, we need to have multiple or a range of ports in tunnel inbound (simply a string, not an int); then we can use portMap, otherwise it's useless. ### How to repeat the problem? - ### Expected action _No response_ ### Received action _No response_ ### 3x-ui Version 2.8.10 ### Xray-core Version _No response_ ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:26:44 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@YellowSM commented on GitHub (May 10, 2026):

Indeed, what is the problem with changing the port value check from being a number to being a string?

<!-- gh-comment-id:4415963446 --> @YellowSM commented on GitHub (May 10, 2026): Indeed, what is the problem with changing the port value check from being a number to being a string?
Author
Owner

@MHSanaei commented on GitHub (May 10, 2026):

that's for client not server

<!-- gh-comment-id:4415993415 --> @MHSanaei commented on GitHub (May 10, 2026): that's for client not server
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#2616
No description provided.