[PR #3823] [CLOSED] feat: NordVPN WireGuard (NordLynx) Integration #5534

Closed
opened 2026-10-31 20:47:38 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3823
Author: @PedroLiu1999
Created: 2/18/2026
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (2)

  • 402b418 feat: Add NordVPN NordLynx (WireGuard) integration with dedicated UI and backend services.
  • aa53bb8 docs: customize quick start and installation scripts for PedroLiu1999/3x-ui fork

📊 Changes

13 files changed (+503 additions, -40 deletions)

View changed files

📝 README.md (+10 -9)
📝 install.sh (+13 -17)
📝 update.sh (+11 -11)
📝 web/controller/xray_setting.go (+28 -0)
➕ web/html/modals/nord_modal.html (+255 -0)
📝 web/html/settings/xray/basics.html (+19 -0)
📝 web/html/settings/xray/outbounds.html (+2 -0)
📝 web/html/xray.html (+22 -0)
➕ web/service/nord.go (+104 -0)
📝 web/service/setting.go (+9 -0)
📝 web/translation/translate.en_US.toml (+10 -0)
📝 web/translation/translate.fa_IR.toml (+10 -0)
📝 web/translation/translate.zh_CN.toml (+10 -3)

📄 Description

Description

This PR introduces comprehensive support for NordVPN outbounds using the WireGuard (NordLynx) protocol. It enables users to easily route traffic through NordVPN servers directly from the 3x-ui panel.

Key Features

  • Integrated NordVPN Service: A new backend service (NordService) for interacting with NordVPN APIs.
  • API v2 Integration: Uses the latest NordVPN API for real-time server discovery, load information, and intelligent sorting (lowest load first).
  • Authentication Modes:
    • Access Token: Simplified login using a NordVPN access token to automatically retrieve credentials.
    • Private Key: Support for manual private key entry for advanced users.
  • Frontend Refinements:
    • Dedicated NordVPN modal with server load indicators.
    • Automated server selection and configuration generation.
    • Proactive "Logout/Cleanup" that removes orphaned outbounds and routing rules.
  • Advanced Routing:
    • Direct integration into the "Basics" settings for easy routing rule creation.
    • Individual tags for each NordVPN server (nord-<hostname>) for precise traffic control.
  • Multi-language Support: Full localization in English, Farsi, and Chinese.

Changes

Backend

  • [NEW] web/service/nord.go: Core logic for NordVPN API interaction.
  • web/controller/xray_setting.go: Endpoints for server fetching and credential management.
  • web/service/setting.go: Storage and retrieval of NordVPN configuration.

Frontend

  • [NEW] web/html/modals/nord_modal.html: The main user interface for NordVPN setup.
  • web/html/settings/xray/outbounds.html: Added "NordVPN" quick-access button.
  • web/html/settings/xray/basics.html: Added NordVPN routing rule configuration.
  • web/html/xray.html: Enhanced template processing for dynamic outbound tags.

Localization

  • web/translation/translate.en_US.toml
  • web/translation/translate.fa_IR.toml
  • web/translation/translate.zh_CN.toml

Type of Changes

  • New feature

Screenshots

image image image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3823 **Author:** [@PedroLiu1999](https://github.com/PedroLiu1999) **Created:** 2/18/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`402b418`](https://github.com/MHSanaei/3x-ui/commit/402b41893d6bee9dcda9542120735cd359cdec5a) feat: Add NordVPN NordLynx (WireGuard) integration with dedicated UI and backend services. - [`aa53bb8`](https://github.com/MHSanaei/3x-ui/commit/aa53bb844ca5ff6d0449f97729d95b24b91f5335) docs: customize quick start and installation scripts for PedroLiu1999/3x-ui fork ### 📊 Changes **13 files changed** (+503 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+10 -9) 📝 `install.sh` (+13 -17) 📝 `update.sh` (+11 -11) 📝 `web/controller/xray_setting.go` (+28 -0) ➕ `web/html/modals/nord_modal.html` (+255 -0) 📝 `web/html/settings/xray/basics.html` (+19 -0) 📝 `web/html/settings/xray/outbounds.html` (+2 -0) 📝 `web/html/xray.html` (+22 -0) ➕ `web/service/nord.go` (+104 -0) 📝 `web/service/setting.go` (+9 -0) 📝 `web/translation/translate.en_US.toml` (+10 -0) 📝 `web/translation/translate.fa_IR.toml` (+10 -0) 📝 `web/translation/translate.zh_CN.toml` (+10 -3) </details> ### 📄 Description ## Description This PR introduces comprehensive support for NordVPN outbounds using the WireGuard (NordLynx) protocol. It enables users to easily route traffic through NordVPN servers directly from the 3x-ui panel. ### Key Features - **Integrated NordVPN Service**: A new backend service (`NordService`) for interacting with NordVPN APIs. - **API v2 Integration**: Uses the latest NordVPN API for real-time server discovery, load information, and intelligent sorting (lowest load first). - **Authentication Modes**: - **Access Token**: Simplified login using a NordVPN access token to automatically retrieve credentials. - **Private Key**: Support for manual private key entry for advanced users. - **Frontend Refinements**: - Dedicated NordVPN modal with server load indicators. - Automated server selection and configuration generation. - Proactive "Logout/Cleanup" that removes orphaned outbounds and routing rules. - **Advanced Routing**: - Direct integration into the "Basics" settings for easy routing rule creation. - Individual tags for each NordVPN server (`nord-<hostname>`) for precise traffic control. - **Multi-language Support**: Full localization in English, Farsi, and Chinese. ## Changes ### Backend - [NEW] `web/service/nord.go`: Core logic for NordVPN API interaction. - `web/controller/xray_setting.go`: Endpoints for server fetching and credential management. - `web/service/setting.go`: Storage and retrieval of NordVPN configuration. ### Frontend - [NEW] `web/html/modals/nord_modal.html`: The main user interface for NordVPN setup. - `web/html/settings/xray/outbounds.html`: Added "NordVPN" quick-access button. - `web/html/settings/xray/basics.html`: Added NordVPN routing rule configuration. - `web/html/xray.html`: Enhanced template processing for dynamic outbound tags. ### Localization - `web/translation/translate.en_US.toml` - `web/translation/translate.fa_IR.toml` - `web/translation/translate.zh_CN.toml` ## Type of Changes - [ ] New feature ## Screenshots <img width="3199" height="1454" alt="image" src="https://github.com/user-attachments/assets/3e5f5b31-3b8b-4494-8d84-42816a36c90c" /> <img width="3195" height="1559" alt="image" src="https://github.com/user-attachments/assets/59ea9d57-0211-4d37-9192-a1621f52164b" /> <img width="3234" height="1420" alt="image" src="https://github.com/user-attachments/assets/0425afb8-41a6-4246-9e95-094d11bab504" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:38 +07:00
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#5534
No description provided.