Add 3x-ui VLESS configs and guest access without registration.

Guests can open a public link to view or create VPN configs; panel creates VLESS clients via the 3x-ui API.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
orohi
2026-07-26 01:15:24 +03:00
co-authored by Cursor
parent 2196d127b7
commit 5386c4d40e
12 changed files with 1512 additions and 39 deletions
+11
View File
@@ -44,6 +44,17 @@ DEFAULT_SETTINGS = {
'xui_create_conns': False,
'xui_server_id': 0,
'xui_protocol': 'xray',
'xui_inbound_id': 0,
},
'guest': {
'enabled': False,
'token': '',
'password_hash': None,
'user_id': '',
'allow_create': False,
'create_protocol': 'xui',
'create_server_id': 0,
'create_inbound_id': 0,
},
}