[PR #7087] feat/wattunnel-integration #6642

Open
opened 2026-11-07 14:34:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/7087
Author: @poise52
Created: 11/5/2026
Status: 🔄 Open

Base: main ← Head: feat/wattunnel-integration


📝 Commits (1)

📊 Changes

98 files changed (+11615 additions, -161 deletions)

View changed files

📝 .github/workflows/release.yml (+8 -0)
➕ .github/workflows/wattunnel.yml (+55 -0)
📝 DockerInit.sh (+4 -0)
📝 Dockerfile (+2 -0)
➕ deploy/test/wattunnel-lab.Dockerfile (+15 -0)
📝 docs/content/docs/en/operations/meta.json (+1 -0)
➕ docs/content/docs/en/operations/wattunnel.mdx (+78 -0)
📝 docs/content/docs/en/reference/api/meta.json (+1 -0)
➕ docs/content/docs/en/reference/api/tunnels.mdx (+75 -0)
📝 docs/content/docs/ru/operations/meta.json (+2 -0)
➕ docs/content/docs/ru/operations/wattunnel-two-vps.mdx (+273 -0)
➕ docs/content/docs/ru/operations/wattunnel.mdx (+75 -0)
📝 docs/public/openapi.json (+1261 -25)
➕ docs/wattunnel-lab-results.json (+1573 -0)
➕ docs/wattunnel-validation.md (+105 -0)
📝 frontend/public/openapi.json (+1261 -25)
📝 frontend/src/components/command-palette/CommandPalette.tsx (+1 -0)
📝 frontend/src/generated/examples.ts (+210 -0)
📝 frontend/src/generated/schemas.ts (+399 -0)
📝 frontend/src/generated/types.ts (+102 -0)

...and 78 more files

📄 Description

Summary

Add managed WatTunnel tunnels with a dedicated panel page, process lifecycle management, and multi-node support. Supports ICMP, TCP, UDP, TLS, WSS, Auto selection, reverse connections, and TCP/UDP forwarding.

Why

Enable an entry VPS → WatTunnel → exit VPS → existing Xray inbound cascade without changing the Xray client.

Type of change

  • New feature
  • Documentation
  • Build / CI / tooling

Areas affected

  • Frontend (UI / panel pages)
  • Backend (API endpoints, login, settings)
  • Statistics / traffic counters
  • Database / migrations
  • Install / upgrade script
  • Docker image
  • Multi-node (sub-nodes)

How was this tested?

  • Added backend tests for configuration, tokens, secrets, lifecycle, and node synchronization.
  • Tested all five transports in direct and reverse modes in a local Docker lab.
  • Frontend lint, typecheck, production build, and 10 targeted tests passed.
  • Checked Tunnels in Chromium: light/dark themes, desktop/mobile layouts, editing, mappings, Auto, and token export.

Detailed results and limitations: docs/wattunnel-validation.md. External two-VPS validation remains pending.

Checklist

  • I tested the change locally and confirmed the described behavior.
  • I added or updated tests for the new behavior.
  • go build ./... and the test suite pass locally.
  • Frontend lint, typecheck, and build pass.
  • I updated user-facing and API documentation.

🔄 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/7087 **Author:** [@poise52](https://github.com/poise52) **Created:** 11/5/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/wattunnel-integration` --- ### 📝 Commits (1) - [`e46eda6`](https://github.com/MHSanaei/3x-ui/commit/e46eda6e33c69f7c7f19a58998815aee72d88cd9) WIP ### 📊 Changes **98 files changed** (+11615 additions, -161 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yml` (+8 -0) ➕ `.github/workflows/wattunnel.yml` (+55 -0) 📝 `DockerInit.sh` (+4 -0) 📝 `Dockerfile` (+2 -0) ➕ `deploy/test/wattunnel-lab.Dockerfile` (+15 -0) 📝 `docs/content/docs/en/operations/meta.json` (+1 -0) ➕ `docs/content/docs/en/operations/wattunnel.mdx` (+78 -0) 📝 `docs/content/docs/en/reference/api/meta.json` (+1 -0) ➕ `docs/content/docs/en/reference/api/tunnels.mdx` (+75 -0) 📝 `docs/content/docs/ru/operations/meta.json` (+2 -0) ➕ `docs/content/docs/ru/operations/wattunnel-two-vps.mdx` (+273 -0) ➕ `docs/content/docs/ru/operations/wattunnel.mdx` (+75 -0) 📝 `docs/public/openapi.json` (+1261 -25) ➕ `docs/wattunnel-lab-results.json` (+1573 -0) ➕ `docs/wattunnel-validation.md` (+105 -0) 📝 `frontend/public/openapi.json` (+1261 -25) 📝 `frontend/src/components/command-palette/CommandPalette.tsx` (+1 -0) 📝 `frontend/src/generated/examples.ts` (+210 -0) 📝 `frontend/src/generated/schemas.ts` (+399 -0) 📝 `frontend/src/generated/types.ts` (+102 -0) _...and 78 more files_ </details> ### 📄 Description ## Summary Add managed WatTunnel tunnels with a dedicated panel page, process lifecycle management, and multi-node support. Supports ICMP, TCP, UDP, TLS, WSS, Auto selection, reverse connections, and TCP/UDP forwarding. ## Why Enable an entry VPS → WatTunnel → exit VPS → existing Xray inbound cascade without changing the Xray client. ## Type of change - [x] New feature - [x] Documentation - [x] Build / CI / tooling ## Areas affected - [x] Frontend (UI / panel pages) - [x] Backend (API endpoints, login, settings) - [x] Statistics / traffic counters - [x] Database / migrations - [x] Install / upgrade script - [x] Docker image - [x] Multi-node (sub-nodes) ## How was this tested? - Added backend tests for configuration, tokens, secrets, lifecycle, and node synchronization. - Tested all five transports in direct and reverse modes in a local Docker lab. - Frontend lint, typecheck, production build, and 10 targeted tests passed. - Checked Tunnels in Chromium: light/dark themes, desktop/mobile layouts, editing, mappings, Auto, and token export. Detailed results and limitations: `docs/wattunnel-validation.md`. External two-VPS validation remains pending. ## Checklist - [x] I tested the change locally and confirmed the described behavior. - [x] I added or updated tests for the new behavior. - [x] `go build ./...` and the test suite pass locally. - [x] Frontend lint, typecheck, and build pass. - [x] I updated user-facing and API documentation. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#6642
No description provided.