diff options
Diffstat (limited to 'web/html/xui')
| -rw-r--r-- | web/html/xui/form/outbound.html | 3 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/wireguard.html | 3 | ||||
| -rw-r--r-- | web/html/xui/inbound_info_modal.html | 4 | ||||
| -rw-r--r-- | web/html/xui/warp_modal.html | 3 |
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, } }); } |
