A system-level transparent proxy routing engine using Xray-core
50
stars
203
commits
JavaScript
primary language
Sep 8, 2026
updated

A powerful and easy-to-use internet proxy manager for rooted Android devices. It helps you route all device traffic through a proxy server to secure your connection, bypass restrictions, and share your high-speed connection with other devices.
Magic V2Ray is an advanced network tool designed for rooted Android phones. By combining top-tier proxy cores, it creates a seamless system-wide connection that covers all your apps.
It comes with a clean Web UI where you can easily organize your proxy configurations, save your subscription links, and manage your network with a few clicks.
If you are used to standard V2Ray apps (like v2rayNG, Matsuri, Nekobox), here is why Magic V2Ray is a game-changer:
VpnService API and get easily killed by Android's aggressive memory management (Low Memory Killer) when RAM is tight, dropping your connection or leaking your real IP. Magic V2Ray operates with Root privileges, running as a system daemon that the OS does not kill under memory pressure.VpnService cannot: A VpnService app only sees traffic from UIDs the framework routes to it. Magic V2Ray marks packets at the Netfilter layer, so it can also cover system UIDs, and it does not consume the single system-wide VPN slot — no conflict with a per-app VPN, and no persistent VPN key icon in the status bar.VpnService cannot carry tethered clients, because Android forwards their traffic outside the VPN's namespace. Magic V2Ray intercepts it at PREROUTING and policy-routes it into the same tunnel, so devices sharing your hotspot get the proxied connection too.ip monitor) rather than polling, and re-applies the routing marks without waiting for a timeout.[!IMPORTANT] This is a system module (for Magisk / KernelSU / APatch), NOT a standalone application!
If your device is not rooted, or if you are looking for a regular GUI application with a visual interface for Android, Windows, macOS, or iOS, please find the official and community-supported clients here: 👉 Xray-core GUI Clients
Note: Magisk users need to install KsuWebUIStandalone to open WebUI of the module
This project uses pre-built binaries from the following open-source projects:
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
By using this project, you agree to the terms and conditions set forth in the license. For more details, please refer to the LICENSE file in this repository.
Essentially, you are free to use, modify, and distribute this software, provided that you include the same license and source code availability in your own project.
JavaScript
61.5%
Shell
17.1%
HTML
12.5%
CSS
8.9%
A system-level transparent proxy routing engine using Xray-core
50
stars
203
commits
JavaScript
primary language
Sep 8, 2026
updated

A powerful and easy-to-use internet proxy manager for rooted Android devices. It helps you route all device traffic through a proxy server to secure your connection, bypass restrictions, and share your high-speed connection with other devices.
Magic V2Ray is an advanced network tool designed for rooted Android phones. By combining top-tier proxy cores, it creates a seamless system-wide connection that covers all your apps.
It comes with a clean Web UI where you can easily organize your proxy configurations, save your subscription links, and manage your network with a few clicks.
If you are used to standard V2Ray apps (like v2rayNG, Matsuri, Nekobox), here is why Magic V2Ray is a game-changer:
VpnService API and get easily killed by Android's aggressive memory management (Low Memory Killer) when RAM is tight, dropping your connection or leaking your real IP. Magic V2Ray operates with Root privileges, running as a system daemon that the OS does not kill under memory pressure.VpnService cannot: A VpnService app only sees traffic from UIDs the framework routes to it. Magic V2Ray marks packets at the Netfilter layer, so it can also cover system UIDs, and it does not consume the single system-wide VPN slot — no conflict with a per-app VPN, and no persistent VPN key icon in the status bar.VpnService cannot carry tethered clients, because Android forwards their traffic outside the VPN's namespace. Magic V2Ray intercepts it at PREROUTING and policy-routes it into the same tunnel, so devices sharing your hotspot get the proxied connection too.ip monitor) rather than polling, and re-applies the routing marks without waiting for a timeout.[!IMPORTANT] This is a system module (for Magisk / KernelSU / APatch), NOT a standalone application!
If your device is not rooted, or if you are looking for a regular GUI application with a visual interface for Android, Windows, macOS, or iOS, please find the official and community-supported clients here: 👉 Xray-core GUI Clients
Note: Magisk users need to install KsuWebUIStandalone to open WebUI of the module
This project uses pre-built binaries from the following open-source projects:
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
By using this project, you agree to the terms and conditions set forth in the license. For more details, please refer to the LICENSE file in this repository.
Essentially, you are free to use, modify, and distribute this software, provided that you include the same license and source code availability in your own project.
JavaScript
61.5%
Shell
17.1%
HTML
12.5%
CSS
8.9%