٧. سياسة الشبكة¶
نصيحة
النمط الشائع: geosite:ir و geoip:ir → direct، الباقي → proxy.
Outbounds¶
Outbounds تحدد مسار الخروج للحركة بعد inbound.
الأنواع¶
| Tag | الدور |
|---|---|
freedom |
مباشر — بدون proxy |
blackhole |
إسقاط |
dns |
محلل داخلي |
proxy |
سلسلة إلى upstream آخر |
warp |
Cloudflare WARP+ |
CRUD¶
- Outbounds → Add — محرر JSON + استيراد share link
- ربط بـ inbound/قاعدة توجيه
مثال: سلسلة proxy¶
{
"tag": "chain-de",
"protocol": "vless",
"settings": {
"vnext": [{
"address": "upstream.example.com",
"port": 443,
"users": [{"id": "uuid", "encryption": "none", "flow": "xtls-rprx-vision"}]
}]
}
}
Routing¶
Routing → Add Rule
| Matcher | مثال |
|---|---|
| Domain | geosite:ir, domain:google.com |
| IP | geoip:ir, 192.168.0.0/16 |
| Port | 80,443 |
| Protocol | tcp,udp |
| Inbound tag | vless-in |
نمط إيران الشائع¶
Balancers¶
Balancers → Add
| Strategy | السلوك |
|---|---|
random |
اختيار عشوائي |
roundRobin |
Round-robin |
leastPing |
أقل ping |
leastLoad |
أقل حمل |
Observatory¶
- فحوصات صحة على outbounds
- إزالة غير السليم تلقائياً من المجموعة
Evasion Profiles¶
Evasion — إعدادات مسبقة anti-DPI:
| Preset | المحتوى |
|---|---|
| Iran (Fragment + Chrome) | TLS fragment + Chrome fingerprint |
| China (Mux + Random) | h2mux + randomized FP |
| Russia (Fragment + Firefox) | Fragment قصير |
مرتبط بـ inbound — fragment، mux، fingerprint في مكان واحد.
تكامل WARP+¶
Outbound من نوع WARP لنفق Cloudflare — مفيد للتجاوز أو طبقة الخصوصية.
قوالب التكوين¶
Settings → Subscription Template
- تخصيص مخرجات Clash/sing-box
- قواعد افتراضية، proxy-groups، DNS