[GH-ISSUE #960] Feature: add client management for Xray #290

Closed
opened 2026-10-13 20:18:01 +00:00 by bsakaguchi · 11 comments
Owner

Originally created by @Nethius on GitHub (Aug 10, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/960

for append client

  1. add id generation when creating a connection config
  2. add the user id to the server config
  3. restart xray on the server
  4. append client info to clients table

for revoke client

  1. remove the user id from the server config
  2. restart xray on the server
  3. remove client info from clients table

I think the workflow will be similar to adding/removing configs for wg/awg
wg config creation - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/configurators/wireguard_configurator.cpp
xray config creation - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/configurators/xray_configurator.cpp
user management - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/ui/models/clientManagementModel.cpp

Originally created by @Nethius on GitHub (Aug 10, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/960 ### for append client 1. add id generation when creating a connection config 2. add the user id to the server config 3. restart xray on the server 4. append client info to clients table ### for revoke client 1. remove the user id from the server config 2. restart xray on the server 3. remove client info from clients table I think the workflow will be similar to adding/removing configs for wg/awg wg config creation - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/configurators/wireguard_configurator.cpp xray config creation - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/configurators/xray_configurator.cpp user management - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/ui/models/clientManagementModel.cpp
Author
Owner

@KiGamji commented on GitHub (Aug 10, 2024):

please also consider adding the port change feature.

<!-- gh-comment-id:2279880739 --> @KiGamji commented on GitHub (Aug 10, 2024): please also consider adding the port change feature.
Author
Owner

@Nethius commented on GitHub (Aug 10, 2024):

please also consider adding the port change feature.

it will be done in another issue

<!-- gh-comment-id:2279915441 --> @Nethius commented on GitHub (Aug 10, 2024): > please also consider adding the port change feature. it will be done in another issue
Author
Owner

@alfirinoops commented on GitHub (Aug 12, 2024):

Config that the client receives for connection, will be able to use on an unlimited number of devices? There are no restrictions on devices per one id?

<!-- gh-comment-id:2283513002 --> @alfirinoops commented on GitHub (Aug 12, 2024): Config that the client receives for connection, will be able to use on an unlimited number of devices? There are no restrictions on devices per one id?
Author
Owner

@amnzam commented on GitHub (Sep 11, 2024):

Config that the client receives for connection, will be able to use on an unlimited number of devices? There are no restrictions on devices per one id?

Hello. There are no restrictions on qty of devices with Xray.

<!-- gh-comment-id:2343400223 --> @amnzam commented on GitHub (Sep 11, 2024): > Config that the client receives for connection, will be able to use on an unlimited number of devices? There are no restrictions on devices per one id? Hello. There are no restrictions on qty of devices with Xray.
Author
Owner

@mrdrprofuroboros commented on GitHub (Sep 16, 2024):

Hey guys! any news here? When would it be possible to manage users with xray?

<!-- gh-comment-id:2351961798 --> @mrdrprofuroboros commented on GitHub (Sep 16, 2024): Hey guys! any news here? When would it be possible to manage users with xray?
Author
Owner

@iriswolf commented on GitHub (Oct 10, 2024):

When will this be done?

<!-- gh-comment-id:2404521608 --> @iriswolf commented on GitHub (Oct 10, 2024): When will this be done?
Author
Owner

@salotor commented on GitHub (Dec 8, 2024):

In the waiting room

<!-- gh-comment-id:2526376612 --> @salotor commented on GitHub (Dec 8, 2024): In the waiting room
Author
Owner

@paldeflex commented on GitHub (Dec 9, 2024):

any news?

<!-- gh-comment-id:2528153824 --> @paldeflex commented on GitHub (Dec 9, 2024): any news?
Author
Owner

@DmitriyFrolov2 commented on GitHub (Jan 19, 2025):

Do you have any information about when it will be implemented?

<!-- gh-comment-id:2600860731 --> @DmitriyFrolov2 commented on GitHub (Jan 19, 2025): Do you have any information about when it will be implemented?
Author
Owner

@Selithrarion commented on GitHub (Mar 17, 2025):

still no users in xray tab

<!-- gh-comment-id:2728381305 --> @Selithrarion commented on GitHub (Mar 17, 2025): still no users in xray tab
Author
Owner

@Arkemlar commented on GitHub (Mar 17, 2025):

I use android version and it works

<!-- gh-comment-id:2728985022 --> @Arkemlar commented on GitHub (Mar 17, 2025): I use android version and it works
Sign in to join this conversation.
No labels
pull-request
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
amnezia-vpn/amnezia-client#290
No description provided.