Skip to content

Commit 4bbf6ec

Browse files
authored
Add files via upload
1 parent 27388de commit 4bbf6ec

7 files changed

Lines changed: 210 additions & 37 deletions

File tree

README.md

Lines changed: 52 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="https://raw.githubusercontent.com/KernelSU-Modules-Repo/netproxy/refs/heads/main/logo.png" alt="NetProxy Logo" width="120" />
2+
<img src="image/logo.png" alt="NetProxy Logo" width="120" />
33
</p>
44

55
<h1 align="center">NetProxy</h1>
@@ -19,28 +19,34 @@
1919
<img src="https://img.shields.io/badge/Xray-Core-blueviolet?style=flat-square" alt="Xray Core" />
2020
</p>
2121

22+
<p align="center">
23+
中文 | <a href="docs/README_EN.md">English</a>
24+
</p>
25+
2226
---
2327

2428
## ✨ 功能特性
2529

2630
| 功能 | 描述 |
2731
|------|------|
28-
| 🖥️ **WebUI 管理** | Material Design 3 现代化界面,支持莫奈取色,功能全面 |
29-
| 🌐 **TPROXY 透明代理** | 支持 TCP + UDP,完整接管系统流量 |
30-
| 📶 **IPv6 支持** | 全面支持 IPv4 和 IPv6 网络 |
31-
| 🎯 **分应用代理** | 黑名单 / 白名单模式,精准控制代理范围 |
32-
| 📦 **订阅管理** | 在线添加、更新订阅,自动解析节点 |
33-
|**热切换配置** | 无需重启即可切换节点 |
34-
| 📊 **延迟测试** | 实时测试节点连接状态 |
32+
| **WebUI 管理** | Material Design 3 现代化界面,支持莫奈取色 |
33+
| **透明代理** | 支持 TPROXY / REDIRECT 两种模式,TCP + UDP 全接管 |
34+
| **分应用代理** | 黑名单 / 白名单模式,精准控制代理范围 |
35+
| **路由设置** | 自定义域名、IP、端口等路由规则 |
36+
| **DNS 设置** | 自定义 DNS 服务器和静态 Hosts 映射 |
37+
| **订阅管理** | 在线添加、更新订阅,自动解析节点 |
38+
| **热点共享** | 支持代理 WiFi 热点和 USB 共享的流量 |
39+
| **热切换配置** | 无需重启即可切换节点 |
3540

3641
---
3742

3843
## 🖼️ 界面预览
3944

4045
<div align="center">
41-
<img src="https://raw.githubusercontent.com/KernelSU-Modules-Repo/netproxy/refs/heads/main/Screenshots/Screenshot1.png" width="30%" alt="状态页面" />
42-
<img src="https://raw.githubusercontent.com/KernelSU-Modules-Repo/netproxy/refs/heads/main/Screenshots/Screenshot2.png" width="30%" alt="配置管理" />
43-
<img src="https://raw.githubusercontent.com/KernelSU-Modules-Repo/netproxy/refs/heads/main/Screenshots/Screenshot3.png" width="30%" alt="应用控制" />
46+
<img src="image/Screenshot1.jpg" width="24%" alt="状态页面" />
47+
<img src="image/Screenshot2.jpg" width="24%" alt="节点管理" />
48+
<img src="image/Screenshot3.jpg" width="24%" alt="应用控制" />
49+
<img src="image/Screenshot4.jpg" width="24%" alt="设置页面" />
4450
</div>
4551

4652
---
@@ -58,14 +64,23 @@
5864

5965
```
6066
/data/adb/modules/netproxy/
67+
├── bin/ # Xray 二进制文件
6168
├── config/
6269
│ ├── xray/
63-
│ │ ├── confdir/ # 入站、DNS、路由等配置
64-
│ │ └── outbounds/ # 出站节点配置(含订阅分组)
65-
│ ├── proxy.conf # 代理模式配置
66-
│ └── proxy_apps.list # 白名单/黑名单应用列表
67-
├── scripts/ # 启动、停止、订阅等脚本
68-
└── bin/xray # Xray 二进制
70+
│ │ ├── confdir/ # Xray 核心配置
71+
│ │ │ ├── 00_log.json
72+
│ │ │ ├── 01_inbounds.json
73+
│ │ │ ├── 02_dns.json
74+
│ │ │ ├── 03_routing.json
75+
│ │ │ └── ...
76+
│ │ └── outbounds/ # 出站节点配置(含订阅分组)
77+
│ ├── module.conf # 模块设置(开机自启等)
78+
│ ├── tproxy.conf # 代理模式配置
79+
│ └── routing_rules.json # 自定义路由规则
80+
├── logs/ # 运行日志
81+
├── scripts/ # 启动、停止、订阅等脚本
82+
├── webroot/ # WebUI 静态资源
83+
└── service.sh # 模块启动入口
6984
```
7085

7186
---
@@ -92,28 +107,15 @@ vless://... 或 vmess://... 或 trojan://... 等
92107
{
93108
"outbounds": [
94109
{
95-
"protocol": "vless",
96110
"tag": "proxy",
111+
"protocol": "vless",
97112
"settings": { ... }
98-
},
99-
{ "protocol": "freedom", "tag": "direct" },
100-
{ "protocol": "blackhole", "tag": "block" }
113+
}
101114
]
102115
}
103116
```
104117

105-
---
106-
107-
## ⚙️ 代理模式
108-
109-
| 模式 | 说明 |
110-
|------|------|
111-
| **黑名单** | 列表中的应用**不走**代理 |
112-
| **白名单** | 仅列表中的应用****代理 |
113-
114-
在 WebUI 应用页面可以选择模式并管理应用列表。
115118

116-
---
117119

118120
## 📢 交流群组
119121

@@ -129,14 +131,27 @@ vless://... 或 vmess://... 或 trojan://... 等
129131

130132
欢迎参与项目!
131133

132-
- 🐛 提交 Issue 反馈 BUG
133-
- 💡 提出功能建议
134-
- 🔧 提交 Pull Request
135-
- ⭐ Star 支持项目!
134+
- 提交 Issue 反馈 BUG
135+
- 提出功能建议
136+
- 提交 Pull Request
137+
- Star 支持项目!
138+
139+
---
140+
141+
## 🙏 鸣谢
142+
143+
本项目的开发离不开以下优秀的开源项目:
144+
145+
| 项目 | 说明 |
146+
|------|------|
147+
| [Xray-core](https://github.com/XTLS/Xray-core) | 核心代理引擎,支持 VLESS、XTLS、REALITY 等先进协议 |
148+
| [v2rayNG](https://github.com/2dust/v2rayNG) | 节点链接解析逻辑参考 |
149+
| [AndroidTProxyShell](https://github.com/CHIZI-0618/AndroidTProxyShell) | Android TProxy 透明代理实现参考 |
150+
| [KsuWebUIStandalone](https://github.com/KOWX712/KsuWebUIStandalone) | WebUI 独立运行方案参考 |
151+
| [Proxylink](https://github.com/Fanju6/Proxylink) | 代理链接解析器,用于订阅解析和配置生成 |
136152

137153
---
138154

139155
## 📜 许可证
140156

141157
[GPL-3.0 License](LICENSE)
142-

docs/README_EN.md

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
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)

image/Screenshot1.jpg

76.6 KB
Loading

image/Screenshot2.jpg

247 KB
Loading

image/Screenshot3.jpg

407 KB
Loading

image/Screenshot4.jpg

57.7 KB
Loading

image/logo.png

191 KB
Loading

0 commit comments

Comments
 (0)