mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-09 14:45:02 +03:00
feat(inbounds): TUN adapter type and auto-system options
xray-core 26.9 added three TUN settings the inbound form could not set: - desc, the tunnel type a new Wintun adapter is created with on Windows. The settings schema did not list it, so the parse stripped it and a value entered as JSON vanished on the next save; - autoSystemDnsToGateway (Linux), which points systemd-resolved at the TUN gateway; - autoSystemWfpBlockLeak (Windows), whose dns / misconfigtun filters keep traffic from leaking past the TUN. The tooltips name the platform each one acts on and what it needs, since the core refuses to build or start the TUN otherwise.
This commit is contained in:
@@ -722,7 +722,13 @@
|
||||
"masque": {
|
||||
"addressPool": "مخزن آدرس",
|
||||
"addressPoolDesc": "آدرسهای تونل از این پیشوندها تخصیص داده میشوند — حداکثر یک IPv4 و یک IPv6."
|
||||
}
|
||||
},
|
||||
"tunDesc": "نوع آداپتور",
|
||||
"tunDescTooltip": "فقط ویندوز: نوع تونلی که آداپتور Wintun جدید با آن ساخته میشود. خالی یعنی Wintun.",
|
||||
"autoSystemDnsToGateway": "DNS سیستم به گیتوی",
|
||||
"autoSystemDnsToGatewayTooltip": "فقط لینوکس: systemd-resolved را به گیتوی TUN میبرد تا کوئریهای سیستم از Xray عبور کنند. به گیتوی نیاز دارد و اگر این کار شکست بخورد TUN اجرا نمیشود.",
|
||||
"autoSystemWfpBlockLeak": "جلوگیری از نشت (WFP)",
|
||||
"autoSystemWfpBlockLeakTooltip": "فقط ویندوز، همراه با مسیریابی خودکار سیستم: dns ترافیک DNS را داخل TUN نگه میدارد (به سرور DNS نیاز دارد) و misconfigtun نسخهای از IP را که هیچ مسیری به TUN نمیفرستد مسدود میکند."
|
||||
},
|
||||
"info": {
|
||||
"mode": "حالت",
|
||||
|
||||
Reference in New Issue
Block a user