diff --git a/web/html/modals/xray_rule_modal.html b/web/html/modals/xray_rule_modal.html
index d367600b..487bf197 100644
--- a/web/html/modals/xray_rule_modal.html
+++ b/web/html/modals/xray_rule_modal.html
@@ -9,7 +9,7 @@
Source IPs
-
+
@@ -19,7 +19,17 @@
Source Port
-
+
+
+
+
+
+
+ {{ i18n "pages.xray.rules.useComma" }}
+ VLESS Route
+
+
+
@@ -52,7 +62,7 @@
IP
-
+
@@ -62,7 +72,7 @@
Domain
-
+
@@ -72,7 +82,7 @@
User
-
+
@@ -82,7 +92,7 @@
Port
-
+
@@ -122,6 +132,7 @@
ip: "",
port: "",
sourcePort: "",
+ vlessRoute: "",
network: "",
sourceIP: "",
user: "",
@@ -155,6 +166,7 @@
this.rule.ip = rule.ip ? rule.ip.join(',') : [];
this.rule.port = rule.port;
this.rule.sourcePort = rule.sourcePort;
+ this.rule.vlessRoute = rule.vlessRoute;
this.rule.network = rule.network;
this.rule.sourceIP = rule.sourceIP ? rule.sourceIP.join(',') : [];
this.rule.user = rule.user ? rule.user.join(',') : [];
@@ -169,6 +181,7 @@
ip: "",
port: "",
sourcePort: "",
+ vlessRoute: "",
network: "",
sourceIP: "",
user: "",
@@ -210,6 +223,7 @@
rule.ip = value.ip.length > 0 ? value.ip.split(',') : [];
rule.port = value.port;
rule.sourcePort = value.sourcePort;
+ rule.vlessRoute = value.vlessRoute;
rule.network = value.network;
rule.sourceIP = value.sourceIP.length > 0 ? value.sourceIP.split(',') : [];
rule.user = value.user.length > 0 ? value.user.split(',') : [];
diff --git a/web/html/settings/xray/routing.html b/web/html/settings/xray/routing.html
index e5b9b6c6..487f7963 100644
--- a/web/html/settings/xray/routing.html
+++ b/web/html/settings/xray/routing.html
@@ -67,18 +67,22 @@
-
- | Source |
- [[ r ]] |
+
+ | Source IP |
+ [[ r ]] |
| Source Port |
[[ r ]] |
+
+ | VLESS Route |
+ [[ r ]] |
+
| Network |
[[ r ]] |
diff --git a/web/html/xray.html b/web/html/xray.html
index 5b1b8026..9f528e03 100644
--- a/web/html/xray.html
+++ b/web/html/xray.html
@@ -146,8 +146,9 @@
{ title: "#", align: 'center', width: 15, scopedSlots: { customRender: 'action' } },
{
title: '{{ i18n "pages.xray.rules.source"}}', children: [
- { title: 'IP', dataIndex: "source", align: 'center', width: 20, ellipsis: true },
- { title: '{{ i18n "pages.inbounds.port" }}', dataIndex: 'sourcePort', align: 'center', width: 10, ellipsis: true }]
+ { title: 'IP', dataIndex: "sourceIP", align: 'center', width: 20, ellipsis: true },
+ { title: '{{ i18n "pages.inbounds.port" }}', dataIndex: 'sourcePort', align: 'center', width: 10, ellipsis: true },
+ { title: 'VLESS Route', dataIndex: 'vlessRoute', align: 'center', width: 15, ellipsis: true }]
},
{
title: '{{ i18n "pages.inbounds.network"}}', children: [