OneXray:Fedora ZIP 构建需网络 capabilities,RPM 仍属计划

OneXray 计划后续提供 RPM。作者说明 ZIP 中 OneXrayCore 若缺少 cap_net_admin、cap_net_raw,可能出现界面正常但 VPN 不工作;可通过 libcap 工具设置并检查,核心文件被更新替换后需重新设置,再以普通用户启动。

作者原文

Thanks for the report. We plan to provide an RPM package in a future release.

For the ZIP build, missing network capabilities on OneXrayCore can prevent the VPN from working even when the app opens. Open a terminal in the extracted OneXray folder (the folder containing OneXrayCore) and run:

sudo dnf install libcap
sudo setcap cap_net_admin,cap_net_raw+eip ./OneXrayCore
getcap ./OneXrayCore

The last command should show:

./OneXrayCore cap_net_admin,cap_net_raw=eip

Fedora's libcap package provides both tools.

Then restart OneXray as your normal user and try connecting again. Reapply the setcap command after an update replaces OneXrayCore.

If it still does not work, please share the getcap output and the connection error or logs so we can investigate further.