mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #6311] [MERGED] feat(nord): support multi-server NordLynx outbounds #6216
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#6216
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/6311
Author: @Masterain98
Created: 8/25/2026
Status: ✅ Merged
Merged: 9/2/2026
Merged by: @MHSanaei
Base:
main← Head:pr/nord-multi-outbounds📝 Commits (2)
255a428feat(nord): support multi-server NordLynx outbounds3923903fix(nord): address verified PR review findings📊 Changes
23 files changed (+1181 additions, -210 deletions)
View changed files
📝
docs/content/docs/en/operations/outbounds-routing.mdx(+8 -1)📝
docs/content/docs/fa/operations/outbounds-routing.mdx(+8 -1)📝
docs/content/docs/ru/operations/outbounds-routing.mdx(+9 -1)📝
docs/content/docs/zh/operations/outbounds-routing.mdx(+7 -1)📝
frontend/src/pages/xray/XrayPage.tsx(+0 -15)📝
frontend/src/pages/xray/overrides/NordModal.css(+300 -14)📝
frontend/src/pages/xray/overrides/NordModal.tsx(+289 -139)➕
frontend/src/test/nord-modal.test.tsx(+427 -0)📝
internal/web/service/integration/nord.go(+7 -25)➕
internal/web/service/integration/nord_test.go(+74 -0)📝
internal/web/translation/ar-EG.json(+4 -1)📝
internal/web/translation/en-US.json(+4 -1)📝
internal/web/translation/es-ES.json(+4 -1)📝
internal/web/translation/fa-IR.json(+4 -1)📝
internal/web/translation/id-ID.json(+4 -1)📝
internal/web/translation/ja-JP.json(+4 -1)📝
internal/web/translation/pt-BR.json(+4 -1)📝
internal/web/translation/ru-RU.json(+4 -1)📝
internal/web/translation/tr-TR.json(+4 -1)📝
internal/web/translation/uk-UA.json(+4 -1)...and 3 more files
📄 Description
Summary
Add multi-server NordVPN NordLynx outbound management.
Users can add multiple unique NordVPN WireGuard outbounds from the same modal, inspect each server's hostname, endpoint IP, and load, reset individual NordLynx private keys, and continue managing existing outbounds without closing the dialog.
Why
The existing NordVPN integration only handled the first
nord-*outbound and did not provide a practical way to configure multiple NordLynx server routes.This PR addresses the core request from Issue #4101 by bringing the NordVPN modal closer to the existing PIA multi-line workflow.
Resolve #4101
Type of change
Areas affected
What changed
NordVPN multi-outbound workflow
nord-*outbounds while preserving their real indexes in the complete outbound list.nord-<hostname>as the stable outbound tag.settings.secretKey.Server selection and presentation
wireguard_udptechnology identifier.All Cities.Compatibility
nord-*tags are not renamed.How was this tested?
Automated frontend tests
From the
frontenddirectory:The focused NordVPN modal test suite passes all 9 tests.
The test coverage includes:
All Citiesafter loading a country.Manual verification
All Cities.Screenshots / recordings
Breaking changes
None.
The public NordVPN API actions, persisted credential format, outbound tags, Xray WireGuard settings, and existing routing references remain compatible with previous configurations.
Validation notes
The focused frontend tests, TypeScript type checking, linting, formatting, and
git diff --checkpass locally.The full Go build and integration suite should be run in a Linux or Windows environment with a working CGO compiler. The current Windows checkout does not have GCC configured for the SQLite dependency.
Checklist
go build ./...and the test suite pass locally.npm run lint,npm run typecheck, andnpm run buildpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.