|
| 1 | +<p align="center"> |
| 2 | + <img src="../image/logo.png" alt="NetProxy Logo" width="120" /> |
| 3 | +</p> |
| 4 | + |
| 5 | +<h1 align="center">NetProxy</h1> |
| 6 | + |
| 7 | +<p align="center"> |
| 8 | + <strong>Android System-Level Xray Transparent Proxy Module</strong><br> |
| 9 | + Supports TPROXY, UDP, IPv6, Per-App Proxy, Subscription Management |
| 10 | +</p> |
| 11 | + |
| 12 | +<p align="center"> |
| 13 | + <a href="https://github.com/Fanju6/NetProxy-Magisk/releases"> |
| 14 | + <img src="https://img.shields.io/github/v/release/Fanju6/NetProxy-Magisk?style=flat-square&label=Release&color=blue" alt="Latest Release" /> |
| 15 | + </a> |
| 16 | + <a href="https://github.com/Fanju6/NetProxy-Magisk/releases"> |
| 17 | + <img src="https://img.shields.io/github/downloads/Fanju6/NetProxy-Magisk/total?style=flat-square&color=green" alt="Downloads" /> |
| 18 | + </a> |
| 19 | + <img src="https://img.shields.io/badge/Xray-Core-blueviolet?style=flat-square" alt="Xray Core" /> |
| 20 | +</p> |
| 21 | + |
| 22 | +<p align="center"> |
| 23 | + <a href="../README.md">中文</a> | English |
| 24 | +</p> |
| 25 | + |
| 26 | +--- |
| 27 | + |
| 28 | +## ✨ Features |
| 29 | + |
| 30 | +| Feature | Description | |
| 31 | +|---------|-------------| |
| 32 | +| 🖥️ **WebUI Management** | Material Design 3 modern interface with Monet theming support | |
| 33 | +| 🌐 **Transparent Proxy** | Supports TPROXY / REDIRECT modes, full TCP + UDP interception | |
| 34 | +| 📶 **IPv6 Support** | Full support for IPv4 and IPv6 networks | |
| 35 | +| 🎯 **Per-App Proxy** | Blacklist / Whitelist mode for precise proxy control | |
| 36 | +| 🛣️ **Routing Rules** | Custom domain, IP, port and other routing rules | |
| 37 | +| 🔗 **DNS Settings** | Custom DNS servers and static Hosts mapping | |
| 38 | +| 📦 **Subscription** | Add and update subscriptions online, auto-parse nodes | |
| 39 | +| 📡 **Hotspot Sharing** | Proxy WiFi hotspot and USB tethering traffic | |
| 40 | +| ⚡ **Hot Switch** | Switch nodes without restarting the service | |
| 41 | + |
| 42 | +--- |
| 43 | + |
| 44 | +## 🖼️ Screenshots |
| 45 | + |
| 46 | +<div align="center"> |
| 47 | + <img src="../image/Screenshot1.jpg" width="24%" alt="Status Page" /> |
| 48 | + <img src="../image/Screenshot2.jpg" width="24%" alt="Node Management" /> |
| 49 | + <img src="../image/Screenshot3.jpg" width="24%" alt="App Control" /> |
| 50 | + <img src="../image/Screenshot4.jpg" width="24%" alt="Settings" /> |
| 51 | +</div> |
| 52 | + |
| 53 | +--- |
| 54 | + |
| 55 | +## 📥 Installation |
| 56 | + |
| 57 | +1. Download the latest ZIP from [Releases](https://github.com/Fanju6/NetProxy-Magisk/releases) |
| 58 | +2. Flash the module in **Magisk / KernelSU / APatch** |
| 59 | +3. Reboot your device |
| 60 | +4. Open the WebUI from your module manager to configure |
| 61 | + |
| 62 | +--- |
| 63 | + |
| 64 | +## 📁 Directory Structure |
| 65 | + |
| 66 | +``` |
| 67 | +/data/adb/modules/netproxy/ |
| 68 | +├── bin/ # Xray binary |
| 69 | +├── config/ |
| 70 | +│ ├── xray/ |
| 71 | +│ │ ├── confdir/ # Xray core configuration |
| 72 | +│ │ │ ├── 00_log.json |
| 73 | +│ │ │ ├── 01_inbounds.json |
| 74 | +│ │ │ ├── 02_dns.json |
| 75 | +│ │ │ ├── 03_routing.json |
| 76 | +│ │ │ └── ... |
| 77 | +│ │ └── outbounds/ # Outbound node configs (with subscription groups) |
| 78 | +│ ├── module.conf # Module settings (autostart, etc.) |
| 79 | +│ ├── tproxy.conf # Proxy mode configuration |
| 80 | +│ └── routing_rules.json # Custom routing rules |
| 81 | +├── logs/ # Runtime logs |
| 82 | +├── scripts/ # Start, stop, subscription scripts |
| 83 | +├── webroot/ # WebUI static resources |
| 84 | +└── service.sh # Module entry point |
| 85 | +``` |
| 86 | + |
| 87 | +--- |
| 88 | + |
| 89 | +## 🚀 Quick Start |
| 90 | + |
| 91 | +### Method 1: Import Node Link (Recommended) |
| 92 | + |
| 93 | +In the WebUI Config page, click **Add → Add Node** and paste your node link: |
| 94 | + |
| 95 | +``` |
| 96 | +vless://... or vmess://... or trojan://... etc. |
| 97 | +``` |
| 98 | + |
| 99 | +### Method 2: Import Subscription |
| 100 | + |
| 101 | +Click **Add → Add Subscription**, enter the subscription name and URL to auto-parse all nodes. |
| 102 | + |
| 103 | +### Method 3: Manual Configuration |
| 104 | + |
| 105 | +Create a JSON config file in the `outbounds` directory: |
| 106 | + |
| 107 | +```json |
| 108 | +{ |
| 109 | + "outbounds": [ |
| 110 | + { |
| 111 | + "tag": "proxy", |
| 112 | + "protocol": "vless", |
| 113 | + "settings": { ... } |
| 114 | + } |
| 115 | + ] |
| 116 | +} |
| 117 | +``` |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | +## 📢 Community |
| 122 | + |
| 123 | +<p align="center"> |
| 124 | + <a href="https://t.me/NetProxy_Magisk"> |
| 125 | + <img src="https://img.shields.io/badge/Telegram-Join%20Group-blue?style=for-the-badge&logo=telegram" alt="Telegram Group" /> |
| 126 | + </a> |
| 127 | +</p> |
| 128 | + |
| 129 | +--- |
| 130 | + |
| 131 | +## 🤝 Contributing |
| 132 | + |
| 133 | +Contributions are welcome! |
| 134 | + |
| 135 | +- 🐛 Submit Issues to report bugs |
| 136 | +- 💡 Suggest new features |
| 137 | +- 🔧 Submit Pull Requests |
| 138 | +- ⭐ Star the project to show support! |
| 139 | + |
| 140 | +--- |
| 141 | + |
| 142 | +## 🙏 Acknowledgments |
| 143 | + |
| 144 | +This project is built upon the following excellent open-source projects: |
| 145 | + |
| 146 | +| Project | Description | |
| 147 | +|---------|-------------| |
| 148 | +| [Xray-core](https://github.com/XTLS/Xray-core) | Core proxy engine with VLESS, XTLS, REALITY protocols | |
| 149 | +| [v2rayNG](https://github.com/2dust/v2rayNG) | Node link parsing logic reference | |
| 150 | +| [AndroidTProxyShell](https://github.com/CHIZI-0618/AndroidTProxyShell) | Android TProxy implementation reference | |
| 151 | +| [KsuWebUIStandalone](https://github.com/KOWX712/KsuWebUIStandalone) | WebUI standalone solution reference | |
| 152 | +| [Proxylink](https://github.com/Fanju6/Proxylink) | Proxy link parser for subscription parsing and config generation | |
| 153 | + |
| 154 | +--- |
| 155 | + |
| 156 | +## 📜 License |
| 157 | + |
| 158 | +[GPL-3.0 License](LICENSE) |
0 commit comments