mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3585] [MERGED] Better Random Reality #5458
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#5458
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/3585
Author: @lillinlin
Created: 11/2/2025
Status: ✅ Merged
Merged: 11/2/2025
Merged by: @MHSanaei
Base:
main← Head:main📝 Commits (2)
5e5f8f9Update reality_targets.js8db6593Update inbound.js📊 Changes
2 files changed (+11 additions, -66 deletions)
View changed files
📝
web/assets/js/model/inbound.js(+1 -1)📝
web/assets/js/model/reality_targets.js(+10 -65)📄 Description
What is the pull request?
Which part of the application is affected by the change?
Overview
This update replaces the random Reality target list with a set of globally accessible, high-availability domains from major international technology companies.
Why Replace Some popular websites
The original list included many well-known websites such asother major platforms.
However,despite their popularity, their CDN infrastructure cannot guarantee both low latency and accessibility across all regions, especially in areas with strict network controls or limited international connectivity.
In some regions, these services experience significantly higher latency or are partially/completely blocked due to regional network policies.
As a result, if your VPS hosting the Reality node happens to be located in such regions, the overall performance, stability, and reachability of the Reality connection may be severely affected.
Why Replace Google
The original list included sites such as Google, which are not universally reachable in all regions.
In particular, if a Reality node uses a Google domain as its target and is later used to access countries where Google services are blocked, that node’s IP address may be blacklisted or restricted by those countries’ networks, leading to connectivity failures or service denial.
Google services (e.g., cloud.google.com) are inaccessible in:
Mainland China
Iran
North Korea
Crimea region
Syria
China and Iran are regions that greatly need to use proxies.
Why Replace Cloudflare
See reference: https://github.com/XTLS/Xray-core/issues/2360
Cloudflare CDN should not be used as a Reality destination.
Using Cloudflare edge IPs can unintentionally expose your Reality node IP to be misused as a public Cloudflare proxy, which may lead to bandwidth abuse or IP blocking.
When a Reality destination resolves to a Cloudflare edge IP, external programs may route Cloudflare-based traffic through your server, resulting in traffic hijacking and resource abuse.
About the New Target List
All domains in this new list belong to well-established multinational enterprises
(Apple, Microsoft, Tesla, AMD, NVIDIA, Amazon, Intel, Oracle).
These companies:
robust global CDN networks (many use Akamai, Fastly, or proprietary edge systems).
Offer consistent latency and availability across continents.
Are reliable and safe for use as Reality targets, without regional blocking issues.
Type of Changes
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.