Passwall2 分流设置: Passwall2 is one of the most advanced and flexible network-proxy management tools available on OpenWrt. One of its strongest features is 分流设置 (traffic splitting), which allows users to route different categories of traffic through different nodes, proxies, or direct connections.
For users who want maximum speed, privacy, and stability, understanding Passwall2 分流设置 is essential.
What Is Passwall2 and Why Traffic Splitting Matters
Passwall2 is an upgraded version of the popular OpenWrt proxy tool Passwall. It integrates:
- multi-protocol proxy support (VLESS, VMess, Shadowsocks, Trojan, SOCKS, HTTP)
- routing control
- DNS customization
- smart traffic logic
- rule-based management
分流设置 (traffic splitting) in Passwall2 allows users to define how different traffic types behave, such as:
- gaming traffic
- streaming platforms
- local Chinese websites
- international websites
- advertisements
- malware or blacklist domains
- custom domain/IP lists
This ensures faster speeds, reduced latency, and optimized node usage.
How Passwall2 分流设置 Works (Core Mechanism)
Passwall2 uses routing rules combined with DNS resolution to determine how traffic moves through the network. The system divides traffic using multiple rule engines:
1. Domain-based rules (域名分流)
Traffic is routed depending on the domain name requested.
Example categories:
- 国内域名(直连)
- 国外域名(走代理)
- 流媒体域名(专用节点)
- 广告域名(拦截)
2. IP-based rules (IP 分流)
Routes traffic based on IP ranges, such as:
- China IP lists
- LAN IPs
- Private IP blocks
- Foreign IP blocks
3. Protocol-based rules
Some connections can be routed based on protocol type, such as:
- TCP only
- UDP only
- QUIC traffic
- Gaming traffic
4. Custom rule groups (自定义分流规则)
Users can define custom lists for:
- Direct connect
- Proxy
- Blacklist (block)
- Special node routing
This flexibility makes Passwall2 one of the most powerful routing tools in the OpenWrt environment.
Common Traffic-Splitting Modes (Most Users Use These)
The following popular 分流 configurations are widely used for performance and reliability.
A. 国内直连 + 国外代理模式
The most common mode:
- 国内网站 → Direct (直连)
- 国外网站 → Proxy (代理)
Benefits:
- Fast access to local services
- Stable unlock for international sites
- Lower node usage bandwidth
B. 流媒体专线模式
Streaming services like Netflix, Disney+, Hulu may require special nodes.
- 流媒体媒体 → Dedicated node
- Normal foreign websites → Standard proxy
This improves streaming stability and reduces geo-blocking errors.
C. 游戏低延迟模式
Game traffic can be routed differently from general browsing.
- Game IPs → Low-latency node or direct connect
- Other foreign traffic → Normal proxy
Useful for:
- Steam
- Epic
- PSN
- Nintendo
- Mobile games
D. 广告拦截 + 恶意域名拦截
Passwall2 can route known ad or malware domains to block mode.
- Ads → block
- Malware → block
- Normal traffic → follow rules
This protects security and improves speed.
How to Configure Passwall2 分流设置 (General Steps)
Below is a safe, general guidance overview (no harmful or sensitive data):
1. Open the Passwall2 interface
Go to:
OpenWrt → Services → Passwall 2
2. Navigate to the 分流设置 section
Found under:
“路由规则” / “规则管理” / “分流设置”
3. Enable rule engines
Most users activate:
- GeoIP
- GFW list
- China route table
- Streaming media lists
4. Configure routing tables
Assign routes such as:
- 国内 → 直连
- 国外 → 代理
- 流媒体 → 指定节点
- 局域网 → 直连
5. Add custom domain/IP rules
You can create personalized lists for:
- websites that must always go direct
- platforms that require proxy
- blocked domains
6. Apply & Restart
Click Save & Apply, then restart Passwall2 for settings to take effect.
This ensures smooth routing and stable performance.
Best Practices for a Stable Passwall2 Configuration
To maximize performance, experts recommend:
✔ Use clean DNS
Set:
- DoH/DoT
- Fake-IP mode or
- DNS forwarding
Depending on your needs.
✔ Keep rule lists updated
Outdated lists can cause routing mistakes.
✔ Assign specific nodes for streaming
Different platforms require different routing logic.
✔ Avoid too many custom rules
Too many rules slow down routing engines.
✔ Test each rule change
Use websites like:
IP checkers
Streaming unlock tests
Game ping tests
This ensures the configuration works as expected.