alireza0 / x-ui

xray panel supporting multi-protocol multi-user expire day & traffic (Vmess & Vless & Trojan & Shadowsocks)
https://t.me/XrayUI
GNU General Public License v3.0
3.22k stars 494 forks source link

WireGuard kernel mode error #1304

Closed poaxy closed 5 months ago

poaxy commented 5 months ago

When I enabled kernel mode for my WireGuard configuration and then tried to restart the xray service, I faced an error which is as follows: Screenshot from 2024-06-09 13-43-34 I'm using the lastest version of XUI and Xray core, however this error persist in previous versions as well. I tried to do the same thing on a few other servers and got the same results. If there is a certain condition or configuration to use this feature, I would like to know.

pulsarice commented 5 months ago

https://github.com/XTLS/Xray-core/issues/2849 Try xray-core v1.8.11 I'm using this version with kernel mode on three debian 11.9 servers and it's OK.

pulsarice commented 5 months ago

I'm sorry, I meant kernel mode on wireguard outbound. Are you using it on Inbound? It seems that inbound doesn't support kernel mode. https://github.com/XTLS/Xray-core/issues/2849#issuecomment-1896162733

poaxy commented 5 months ago

I'm sorry, I meant kernel mode on wireguard outbound. Are you using it on Inbound? It seems that inbound doesn't support kernel mode. https://github.com/XTLS/Xray-core/issues/2849#issuecomment-1896162733

Yes, I was trying to set up kernel mode for inbound since using kernel mode leads to better performance and latency. But if the option isn't supported wouldn't be better to remove this option from outbound configuration?

alireza0 commented 5 months ago

It in not related to the panel. Please ask upstream provider.