[GH-ISSUE #1231] Limit for connection by ID #845

Closed
opened 2026-10-31 20:14:49 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @likstanov on GitHub (Nov 15, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1231

Hi there!
Is there any way to restrict clients connection by ID? (I mean UUID, eg: 4e60fc3c-1ca2-4ae4-992c-65f0377ccd45).
I mean that only 1 user could connect to 1 client account.
Now the restriction works by function Limit IP.
Can I somehow set the restriction: 1 ID = 1 client? Thanks!

Originally created by @likstanov on GitHub (Nov 15, 2023). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1231 Hi there! Is there any way to restrict clients connection by ID? (I mean UUID, eg: 4e60fc3c-1ca2-4ae4-992c-65f0377ccd45). I mean that only 1 user could connect to 1 client account. Now the restriction works by function Limit IP. Can I somehow set the restriction: 1 ID = 1 client? Thanks!
bsakaguchi 2026-10-31 20:14:49 +07:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@AliBelali commented on GitHub (Nov 17, 2023):

sadly v2ray or similar protocols are not a vpn protocol and they are more similar to proxy protocols.
in vpn protocols (or similar services) client first authenticate and authurize to vpn server and after stablishing a tunnel between client and server, client can send requests to server, inside of stablished tunnel but in proxy protocols clinets does not establish a tunnel to server, instead client simply sends requests to proxy server and if server receives packets in proper algorithm, server sends packet to requisted host and after reciving response from host, proxy server replies the respond to client so almost only way that a proxy server can identify multiple devices is receiving multiple requests with multiple ip address and same id(uid). there is some alternative ways to identify muliple devices instead of ip but they are not reliable and also needs customized client apps

<!-- gh-comment-id:1817168095 --> @AliBelali commented on GitHub (Nov 17, 2023): sadly v2ray or similar protocols are not a vpn protocol and they are more similar to proxy protocols. in vpn protocols (or similar services) client first authenticate and authurize to vpn server and after stablishing a tunnel between client and server, client can send requests to server, inside of stablished tunnel but in proxy protocols clinets does not establish a tunnel to server, instead client simply sends requests to proxy server and if server receives packets in proper algorithm, server sends packet to requisted host and after reciving response from host, proxy server replies the respond to client so almost only way that a proxy server can identify multiple devices is receiving multiple requests with multiple ip address and same id(uid). there is some alternative ways to identify muliple devices instead of ip but they are not reliable and also needs customized client apps
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#845
No description provided.