Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-10-16 13:06:47 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-10-16 13:08:01 +0300
commitac7901abba4326ae8ee75cdc18bbb84c7bda85d4 (patch)
tree354cbefaec82d6b43571ac01c3e980e8f00137ca /web/html
parentdff2496d73e94792b6ecd876a2bdb6ab851faec8 (diff)
Wireguard - kernel Tun
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/form/outbound.html3
-rw-r--r--web/html/xui/form/protocol/wireguard.html3
-rw-r--r--web/html/xui/inbound_info_modal.html4
-rw-r--r--web/html/xui/warp_modal.html3
4 files changed, 12 insertions, 1 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html
index 00b33c0b..f35391cf 100644
--- a/web/html/xui/form/outbound.html
+++ b/web/html/xui/form/outbound.html
@@ -150,6 +150,9 @@
<a-form-item label='Kernel Mode'>
<a-switch v-model="outbound.settings.kernelMode"></a-switch>
</a-form-item>
+ <a-form-item label='Kernel Tun'>
+ <a-switch v-model="outbound.settings.kernelTun"></a-switch>
+ </a-form-item>
<a-form-item>
<template slot="label">
<a-tooltip>
diff --git a/web/html/xui/form/protocol/wireguard.html b/web/html/xui/form/protocol/wireguard.html
index 738aaf5f..60d547e0 100644
--- a/web/html/xui/form/protocol/wireguard.html
+++ b/web/html/xui/form/protocol/wireguard.html
@@ -21,6 +21,9 @@
<a-form-item label='Kernel Mode'>
<a-switch v-model="inbound.settings.kernelMode"></a-switch>
</a-form-item>
+ <a-form-item label='Kernel Tun'>
+ <a-switch v-model="inbound.settings.kernelTun"></a-switch>
+ </a-form-item>
<a-form-item label="Peers">
<a-button icon="plus" type="primary" size="small" @click="inbound.settings.addPeer()"></a-button>
</a-form-item>
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html
index 062a9c51..94060e70 100644
--- a/web/html/xui/inbound_info_modal.html
+++ b/web/html/xui/inbound_info_modal.html
@@ -373,6 +373,10 @@
<td>Kernel Mode</td>
<td>[[ inbound.settings.kernelMode ]]</td>
</tr>
+ <tr>
+ <td>Kernel Tun</td>
+ <td>[[ inbound.settings.kernelTun ]]</td>
+ </tr>
<template v-for="(peer, index) in inbound.settings.peers">
<tr>
<td colspan="2">
diff --git a/web/html/xui/warp_modal.html b/web/html/xui/warp_modal.html
index 17f035ca..fb7d54ee 100644
--- a/web/html/xui/warp_modal.html
+++ b/web/html/xui/warp_modal.html
@@ -147,7 +147,8 @@
publicKey: peer.public_key,
endpoint: peer.endpoint.host,
}],
- kernelMode: false
+ kernelMode: false,
+ kernelTun: false,
}
});
}