[PR #5819] [CLOSED] docs: add self-steal setup guide for VLESS+REALITY (EN + RU) #5997

Closed
opened 2026-11-02 04:05:36 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/5819
Author: @mrnickson-hue
Created: 7/5/2026
Status: ❌ Closed

Base: main ← Head: docs/self-steal-reality


📝 Commits (2)

  • 81f8b8a docs: add self-steal setup guide for VLESS+Reality (EN + RU)
  • ba53dee fix: mldsa65 is generated by Get New Seed, not Get New Cert (both languages)

📊 Changes

2 files changed (+529 additions, -0 deletions)

View changed files

➕ docs/self-steal-reality.md (+300 -0)
➕ docs/self-steal-reality.ru_RU.md (+229 -0)

📄 Description

What this adds

A practical, end-to-end guide for pointing REALITY's dest at a self-hosted nginx decoy instead of an external site (self-steal), covering:

  • why self-steal over an external dest (full control of what fallback traffic sees, cert rotation, and real-IP logging)
  • the actual feasibility check the panel enforces (internal/web/service/reality_scan.go), so the nginx side isn't guesswork
  • building a decoy site that survives manual inspection (not the default nginx placeholder)
  • the nginx config itself, including a port-80 redirect block — without it, port 80 falls through to the stock conf.d/default.conf and serves "Welcome to nginx!" for the real domain too, a mismatch against the real decoy on 443 that stands out on inspection
  • wiring the inbound update through the panel UI (Security tab → Target/SNI/Xver), with the API documented as a secondary path for scripted node provisioning
  • a documented Xray-core bug (mldsa65 / post-quantum signature fields breaking real connections — XTLS/Xray-core#5319) and its fix via the Security tab's Clear button
  • live verification steps for both the fallback path and a genuine VLESS+REALITY connection, using a temporary client created through the Clients page rather than hand-built config
  • a closing checklist

I couldn't find existing documentation on this anywhere in the project (wiki, docs/, or docs.sanaei.dev) — the closest is the wiki's "What settings do you recommend for Reality?" entry, which is about picking a good external dest, not self-hosting one. Everything here came out of actually setting this up and hitting (and fixing) the issues along the way, so it's written from that angle rather than a restatement of the REALITY docs.

Two files, following the same <name>.<locale>.md convention the READMEs already use:

  • docs/self-steal-reality.md (English)
  • docs/self-steal-reality.ru_RU.md (Russian)

Formatted to match docs/real-client-ip.md (headings, code blocks, blockquote notes, closing checklist) rather than introduce a new style.

Happy to adjust scope, split it up, or fold pieces into an existing doc if that fits better.


🔄 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/5819 **Author:** [@mrnickson-hue](https://github.com/mrnickson-hue) **Created:** 7/5/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs/self-steal-reality` --- ### 📝 Commits (2) - [`81f8b8a`](https://github.com/MHSanaei/3x-ui/commit/81f8b8a1a1b7e1724fb675a850c50e92b93038bc) docs: add self-steal setup guide for VLESS+Reality (EN + RU) - [`ba53dee`](https://github.com/MHSanaei/3x-ui/commit/ba53deed530b1f0bce2924ce235bc50b2b83f6f5) fix: mldsa65 is generated by Get New Seed, not Get New Cert (both languages) ### 📊 Changes **2 files changed** (+529 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `docs/self-steal-reality.md` (+300 -0) ➕ `docs/self-steal-reality.ru_RU.md` (+229 -0) </details> ### 📄 Description ### What this adds A practical, end-to-end guide for pointing REALITY's dest at a self-hosted nginx decoy instead of an external site (self-steal), covering: - why self-steal over an external dest (full control of what fallback traffic sees, cert rotation, and real-IP logging) - the actual feasibility check the panel enforces (`internal/web/service/reality_scan.go`), so the nginx side isn't guesswork - building a decoy site that survives manual inspection (not the default nginx placeholder) - the nginx config itself, including a port-80 redirect block — without it, port 80 falls through to the stock `conf.d/default.conf` and serves "Welcome to nginx!" for the real domain too, a mismatch against the real decoy on 443 that stands out on inspection - wiring the inbound update through the panel UI (Security tab → Target/SNI/Xver), with the API documented as a secondary path for scripted node provisioning - a documented Xray-core bug (mldsa65 / post-quantum signature fields breaking real connections — XTLS/Xray-core#5319) and its fix via the Security tab's Clear button - live verification steps for both the fallback path and a genuine VLESS+REALITY connection, using a temporary client created through the Clients page rather than hand-built config - a closing checklist I couldn't find existing documentation on this anywhere in the project (wiki, `docs/`, or docs.sanaei.dev) — the closest is the wiki's "What settings do you recommend for Reality?" entry, which is about picking a good *external* dest, not self-hosting one. Everything here came out of actually setting this up and hitting (and fixing) the issues along the way, so it's written from that angle rather than a restatement of the REALITY docs. Two files, following the same `<name>.<locale>.md` convention the READMEs already use: - `docs/self-steal-reality.md` (English) - `docs/self-steal-reality.ru_RU.md` (Russian) Formatted to match `docs/real-client-ip.md` (headings, code blocks, blockquote notes, closing checklist) rather than introduce a new style. Happy to adjust scope, split it up, or fold pieces into an existing doc if that fits better. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:05:36 +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#5997
No description provided.