mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
update block, direct connections
This commit is contained in:
@@ -484,8 +484,7 @@
|
|||||||
type: "field",
|
type: "field",
|
||||||
outboundTag: "direct",
|
outboundTag: "direct",
|
||||||
domain: [
|
domain: [
|
||||||
"geosite:category-ir",
|
"geosite:category-ir"
|
||||||
"geosite:cn"
|
|
||||||
],
|
],
|
||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
@@ -494,8 +493,7 @@
|
|||||||
outboundTag: "direct",
|
outboundTag: "direct",
|
||||||
ip: [
|
ip: [
|
||||||
"geoip:private",
|
"geoip:private",
|
||||||
"geoip:ir",
|
"geoip:ir"
|
||||||
"geoip:cn"
|
|
||||||
],
|
],
|
||||||
enabled: true
|
enabled: true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -210,37 +210,65 @@
|
|||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.Ads"}}' desc='{{ i18n "pages.xray.AdsDesc"}}' v-model="AdsSettings"></setting-list-item>
|
<setting-list-item type="switch" title='{{ i18n "pages.xray.Ads"}}' desc='{{ i18n "pages.xray.AdsDesc"}}' v-model="AdsSettings"></setting-list-item>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.Family"}}' desc='{{ i18n "pages.xray.FamilyDesc"}}' v-model="familyProtectSettings"></setting-list-item>
|
<setting-list-item type="switch" title='{{ i18n "pages.xray.Family"}}' desc='{{ i18n "pages.xray.FamilyDesc"}}' v-model="familyProtectSettings"></setting-list-item>
|
||||||
</a-collapse-panel>
|
</a-collapse-panel>
|
||||||
<a-collapse-panel header='{{ i18n "pages.xray.blockCountryConfigs"}}'>
|
<a-collapse-panel header='{{ i18n "pages.xray.blockConnectionsConfigs"}}'>
|
||||||
<a-row :xs="24" :sm="24" :lg="12">
|
<a-row :xs="24" :sm="24" :lg="12">
|
||||||
<a-alert type="warning" style="text-align: center;">
|
<a-alert type="warning" style="text-align: center;">
|
||||||
<template slot="message">
|
<template slot="message">
|
||||||
<a-icon type="exclamation-circle" theme="filled" style="color: #FFA031"></a-icon>
|
<a-icon type="exclamation-circle" theme="filled" style="color: #FFA031"></a-icon>
|
||||||
{{ i18n "pages.xray.blockCountryConfigsDesc" }}
|
{{ i18n "pages.xray.blockConnectionsConfigsDesc" }}
|
||||||
</template>
|
</template>
|
||||||
</a-alert>
|
</a-alert>
|
||||||
</a-row>
|
</a-row>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.IRIp"}}' desc='{{ i18n "pages.xray.IRIpDesc"}}' v-model="IRIpSettings"></setting-list-item>
|
<a-list-item>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.IRDomain"}}' desc='{{ i18n "pages.xray.IRDomainDesc"}}' v-model="IRDomainSettings"></setting-list-item>
|
<a-collapse>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.ChinaIp"}}' desc='{{ i18n "pages.xray.ChinaIpDesc"}}' v-model="ChinaIpSettings"></setting-list-item>
|
<a-collapse-panel header='{{ i18n "pages.xray.blockips"}}'>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.ChinaDomain"}}' desc='{{ i18n "pages.xray.ChinaDomainDesc"}}' v-model="ChinaDomainSettings"></setting-list-item>
|
<setting-list-item type="switch" title='🇮🇷 Iran' v-model="IRIpSettings"></setting-list-item>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.RussiaIp"}}' desc='{{ i18n "pages.xray.RussiaIpDesc"}}' v-model="RussiaIpSettings"></setting-list-item>
|
<setting-list-item type="switch" title='🇨🇳 China' v-model="ChinaIpSettings"></setting-list-item>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.RussiaDomain"}}' desc='{{ i18n "pages.xray.RussiaDomainDesc"}}' v-model="RussiaDomainSettings"></setting-list-item>
|
<setting-list-item type="switch" title='🇷🇺 Russia' v-model="RussiaIpSettings"></setting-list-item>
|
||||||
|
</a-collapse-panel>
|
||||||
|
</a-collapse>
|
||||||
|
<br>
|
||||||
|
<a-collapse>
|
||||||
|
<a-collapse-panel header='{{ i18n "pages.xray.blockdomains"}}'>
|
||||||
|
<setting-list-item type="switch" title='🇮🇷 Iran' v-model="IRDomainSettings"></setting-list-item>
|
||||||
|
<setting-list-item type="switch" title='🇨🇳 China' v-model="ChinaDomainSettings"></setting-list-item>
|
||||||
|
<setting-list-item type="switch" title='🇷🇺 Russia' v-model="RussiaDomainSettings"></setting-list-item>
|
||||||
|
</a-collapse-panel>
|
||||||
|
</a-collapse>
|
||||||
|
</a-list-item>
|
||||||
</a-collapse-panel>
|
</a-collapse-panel>
|
||||||
<a-collapse-panel header='{{ i18n "pages.xray.directCountryConfigs"}}'>
|
<a-collapse-panel header='{{ i18n "pages.xray.directConnectionsConfigs"}}'>
|
||||||
<a-row :xs="24" :sm="24" :lg="12">
|
<a-row :xs="24" :sm="24" :lg="12">
|
||||||
<a-alert type="warning" style="text-align: center;">
|
<a-alert type="warning" style="text-align: center;">
|
||||||
<template slot="message">
|
<template slot="message">
|
||||||
<a-icon type="exclamation-circle" theme="filled" style="color: #FFA031"></a-icon>
|
<a-icon type="exclamation-circle" theme="filled" style="color: #FFA031"></a-icon>
|
||||||
{{ i18n "pages.xray.directCountryConfigsDesc" }}
|
{{ i18n "pages.xray.directConnectionsConfigsDesc" }}
|
||||||
</template>
|
</template>
|
||||||
</a-alert>
|
</a-alert>
|
||||||
</a-row>
|
</a-row>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.DirectIRIp"}}' desc='{{ i18n "pages.xray.DirectIRIpDesc"}}' v-model="IRIpDirectSettings"></setting-list-item>
|
<a-list-item>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.DirectIRDomain"}}' desc='{{ i18n "pages.xray.DirectIRDomainDesc"}}' v-model="IRDomainDirectSettings"></setting-list-item>
|
<a-collapse>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.DirectChinaIp"}}' desc='{{ i18n "pages.xray.DirectChinaIpDesc"}}' v-model="ChinaIpDirectSettings"></setting-list-item>
|
<a-collapse-panel header='{{ i18n "pages.xray.directips"}}'>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.DirectChinaDomain"}}' desc='{{ i18n "pages.xray.DirectChinaDomainDesc"}}' v-model="ChinaDomainDirectSettings"></setting-list-item>
|
<setting-list-item type="switch" title='🇮🇷 Iran'
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.DirectRussiaIp"}}' desc='{{ i18n "pages.xray.DirectRussiaIpDesc"}}' v-model="RussiaIpDirectSettings"></setting-list-item>
|
v-model="IRIpDirectSettings"></setting-list-item>
|
||||||
<setting-list-item type="switch" title='{{ i18n "pages.xray.DirectRussiaDomain"}}' desc='{{ i18n "pages.xray.DirectRussiaDomainDesc"}}' v-model="RussiaDomainDirectSettings"></setting-list-item>
|
<setting-list-item type="switch" title='🇨🇳 China'
|
||||||
|
v-model="ChinaIpDirectSettings"></setting-list-item>
|
||||||
|
<setting-list-item type="switch" title='🇷🇺 Russia'
|
||||||
|
v-model="RussiaIpDirectSettings"></setting-list-item>
|
||||||
|
</a-collapse-panel>
|
||||||
|
</a-collapse>
|
||||||
|
<br>
|
||||||
|
<a-collapse>
|
||||||
|
<a-collapse-panel header='{{ i18n "pages.xray.directdomains"}}'>
|
||||||
|
<setting-list-item type="switch" title='🇮🇷 Iran'
|
||||||
|
v-model="IRDomainDirectSettings"></setting-list-item>
|
||||||
|
<setting-list-item type="switch" title='🇨🇳 China'
|
||||||
|
v-model="ChinaDomainDirectSettings"></setting-list-item>
|
||||||
|
<setting-list-item type="switch" title='🇷🇺 Russia'
|
||||||
|
v-model="RussiaDomainDirectSettings"></setting-list-item>
|
||||||
|
</a-collapse-panel>
|
||||||
|
</a-collapse>
|
||||||
|
</a-list-item>
|
||||||
</a-collapse-panel>
|
</a-collapse-panel>
|
||||||
<a-collapse-panel header='{{ i18n "pages.xray.ipv4Configs"}}'>
|
<a-collapse-panel header='{{ i18n "pages.xray.ipv4Configs"}}'>
|
||||||
<a-row :xs="24" :sm="24" :lg="12">
|
<a-row :xs="24" :sm="24" :lg="12">
|
||||||
@@ -764,7 +792,7 @@
|
|||||||
"regexp:.*\\.cn$"
|
"regexp:.*\\.cn$"
|
||||||
],
|
],
|
||||||
ru: [
|
ru: [
|
||||||
"geosite:category-gov-ru",
|
"geosite:category-ru",
|
||||||
"regexp:.*\\.ru$"
|
"regexp:.*\\.ru$"
|
||||||
],
|
],
|
||||||
ir: [
|
ir: [
|
||||||
|
|||||||
@@ -326,10 +326,10 @@
|
|||||||
"logConfigsDesc" = "Enabling logs may affect your server's efficiency. It is recommended to enable it wisely only when necessary."
|
"logConfigsDesc" = "Enabling logs may affect your server's efficiency. It is recommended to enable it wisely only when necessary."
|
||||||
"blockConfigs" = "Protection Shield"
|
"blockConfigs" = "Protection Shield"
|
||||||
"blockConfigsDesc" = "These options will block traffic based on specific requested protocols and websites."
|
"blockConfigsDesc" = "These options will block traffic based on specific requested protocols and websites."
|
||||||
"blockCountryConfigs" = "Block Country"
|
"blockConnectionsConfigs" = "Block Connections"
|
||||||
"blockCountryConfigsDesc" = "These options will block traffic based on the specific requested country."
|
"blockConnectionsConfigsDesc" = "These options will block traffic based on the specific requested country."
|
||||||
"directCountryConfigs" = "Direct Country"
|
"directConnectionsConfigs" = "Direct Connections"
|
||||||
"directCountryConfigsDesc" = "These options will directly forward traffic based on the specific requested country."
|
"directConnectionsConfigsDesc" = "A direct connection ensures that specific traffic is not routed through another server."
|
||||||
"blockips" = "Block IPs"
|
"blockips" = "Block IPs"
|
||||||
"blockdomains" = "Block Domains"
|
"blockdomains" = "Block Domains"
|
||||||
"directips" = "Direct IPs"
|
"directips" = "Direct IPs"
|
||||||
|
|||||||
@@ -325,10 +325,10 @@
|
|||||||
"logConfigsDesc" = "فعال کردن گزارش ممکن است بر عملکرد سرور شما تأثیر بگذارد. توصیه میشود فقط در صورت لزوم آن را با دقت فعال کنید"
|
"logConfigsDesc" = "فعال کردن گزارش ممکن است بر عملکرد سرور شما تأثیر بگذارد. توصیه میشود فقط در صورت لزوم آن را با دقت فعال کنید"
|
||||||
"blockConfigs" = "سپر محافظ"
|
"blockConfigs" = "سپر محافظ"
|
||||||
"blockConfigsDesc" = "این گزینهها ترافیک را بر اساس پروتکلهای درخواستی خاص، و وب سایتها مسدود میکند"
|
"blockConfigsDesc" = "این گزینهها ترافیک را بر اساس پروتکلهای درخواستی خاص، و وب سایتها مسدود میکند"
|
||||||
"blockCountryConfigs" = "مسدودسازی کشور"
|
"blockConnectionsConfigs" = "مسدود کردن اتصالات"
|
||||||
"blockCountryConfigsDesc" = "این گزینهها ترافیک را بر اساس کشور درخواستی خاص مسدود میکند"
|
"blockConnectionsConfigsDesc" = "این گزینهها ترافیک را بر اساس کشور درخواستشده خاص مسدود میکنند."
|
||||||
"directCountryConfigs" = "اتصال مستقیم کشور"
|
"directConnectionsConfigs" = "اتصالات مستقیم"
|
||||||
"directCountryConfigsDesc" = "این گزینهها ترافیک را بر اساس کشور درخواستی خاص بصورت مستقیم ارسال میکند"
|
"directConnectionsConfigsDesc" = "یک اتصال مستقیم تضمین میکند که ترافیک خاص از طریق سرور دیگری مسیریابی نشود."
|
||||||
"blockips" = "مسدود کردن آیپیها"
|
"blockips" = "مسدود کردن آیپیها"
|
||||||
"blockdomains" = "مسدود کردن دامنهها"
|
"blockdomains" = "مسدود کردن دامنهها"
|
||||||
"directips" = "آیپیهای مستقیم"
|
"directips" = "آیپیهای مستقیم"
|
||||||
|
|||||||
@@ -326,10 +326,10 @@
|
|||||||
"logConfigsDesc" = "Включение журнала может повлиять на эффективность вашего сервера. Рекомендуется включать его разумно, только когда это необходимо."
|
"logConfigsDesc" = "Включение журнала может повлиять на эффективность вашего сервера. Рекомендуется включать его разумно, только когда это необходимо."
|
||||||
"blockConfigs" = "Блокирующие конфигурации"
|
"blockConfigs" = "Блокирующие конфигурации"
|
||||||
"blockConfigsDesc" = "Эти параметры не позволят пользователям подключаться к определенным протоколам и веб-сайтам."
|
"blockConfigsDesc" = "Эти параметры не позволят пользователям подключаться к определенным протоколам и веб-сайтам."
|
||||||
"blockCountryConfigs" = "Конфигурация блокировки стран"
|
"blockConnectionsConfigs" = "Блокировать соединения"
|
||||||
"blockCountryConfigsDesc" = "Эти параметры не позволят пользователям подключаться к доменам определенной страны."
|
"blockConnectionsConfigsDesc" = "Эти параметры будут блокировать трафик в зависимости от запрашиваемой страны."
|
||||||
"directCountryConfigs" = "Прямые настройки стран"
|
"directConnectionsConfigs" = "Прямые соединения"
|
||||||
"directCountryConfigsDesc" = "Эти параметры будут подключать пользователей напрямую к доменам определенной страны."
|
"directConnectionsConfigsDesc" = "Прямое соединение гарантирует, что определенный трафик не будет перенаправлен через другой сервер."
|
||||||
"blockips" = "Блокировать IP"
|
"blockips" = "Блокировать IP"
|
||||||
"blockdomains" = "Блокировать домены"
|
"blockdomains" = "Блокировать домены"
|
||||||
"directips" = "Прямые IP"
|
"directips" = "Прямые IP"
|
||||||
|
|||||||
@@ -326,10 +326,10 @@
|
|||||||
"logConfigsDesc" = "Bật nhật ký có thể ảnh hưởng đến hiệu suất của máy chủ của bạn. Đề xuất chỉ nên bật khi cần thiết và một cách sáng suốt."
|
"logConfigsDesc" = "Bật nhật ký có thể ảnh hưởng đến hiệu suất của máy chủ của bạn. Đề xuất chỉ nên bật khi cần thiết và một cách sáng suốt."
|
||||||
"blockConfigs" = "Cấu hình Chặn"
|
"blockConfigs" = "Cấu hình Chặn"
|
||||||
"blockConfigsDesc" = "Những tùy chọn này sẽ ngăn người dùng kết nối đến các giao thức và trang web cụ thể."
|
"blockConfigsDesc" = "Những tùy chọn này sẽ ngăn người dùng kết nối đến các giao thức và trang web cụ thể."
|
||||||
"blockCountryConfigs" = "Cấu hình Chặn Quốc gia"
|
"blockConnectionsConfigs" = "Chặn Kết Nối"
|
||||||
"blockCountryConfigsDesc" = "Những tùy chọn này sẽ ngăn người dùng kết nối đến các tên miền quốc gia cụ thể."
|
"blockConnectionsConfigsDesc" = "Các tùy chọn này sẽ chặn lưu lượng truy cập dựa trên quốc gia được yêu cầu cụ thể."
|
||||||
"directCountryConfigs" = "Cấu hình Kết nối Trực tiếp Quốc gia"
|
"directConnectionsConfigs" = "Kết Nối Trực Tiếp"
|
||||||
"directCountryConfigsDesc" = "Những tùy chọn này sẽ kết nối người dùng trực tiếp đến các tên miền quốc gia cụ thể."
|
"directConnectionsConfigsDesc" = "Kết nối trực tiếp đảm bảo rằng lưu lượng truy cập cụ thể không được định tuyến qua máy chủ khác."
|
||||||
"blockips" = "Chặn IP"
|
"blockips" = "Chặn IP"
|
||||||
"blockdomains" = "Chặn Tên Miền"
|
"blockdomains" = "Chặn Tên Miền"
|
||||||
"directips" = "IP Trực Tiếp"
|
"directips" = "IP Trực Tiếp"
|
||||||
|
|||||||
@@ -326,10 +326,10 @@
|
|||||||
"logConfigsDesc" = "启用日志可能会影响服务器的效率。建议仅在必要时明智地启用它。"
|
"logConfigsDesc" = "启用日志可能会影响服务器的效率。建议仅在必要时明智地启用它。"
|
||||||
"blockConfigs" = "阻塞配置"
|
"blockConfigs" = "阻塞配置"
|
||||||
"blockConfigsDesc" = "这些选项将禁止用户连接到特定协议和网站"
|
"blockConfigsDesc" = "这些选项将禁止用户连接到特定协议和网站"
|
||||||
"blockCountryConfigs" = "禁连国家配置"
|
"blockConnectionsConfigs" = "阻止连接"
|
||||||
"blockCountryConfigsDesc" = "这些选项将禁止用户连接到特定国家/地区的域。"
|
"blockConnectionsConfigsDesc" = "这些选项将根据特定的请求国家阻止流量。"
|
||||||
"directCountryConfigs" = "直连国家配置"
|
"directConnectionsConfigs" = "直接连接"
|
||||||
"directCountryConfigsDesc" = "这些选项会将用户直接连接到特定国家/地区的域。"
|
"directConnectionsConfigsDesc" = "直接连接确保特定的流量不会通过其他服务器路由。"
|
||||||
"blockips" = "阻止IP"
|
"blockips" = "阻止IP"
|
||||||
"blockdomains" = "阻止域名"
|
"blockdomains" = "阻止域名"
|
||||||
"directips" = "直接IP"
|
"directips" = "直接IP"
|
||||||
|
|||||||
Reference in New Issue
Block a user