OneXray:Fedora ZIP 构建需网络 capabilities,RPM 仍属计划
OneXray 计划后续提供 RPM。作者说明 ZIP 中 OneXrayCore 若缺少 cap_net_admin、cap_net_raw,可能出现界面正常但 VPN 不工作;可通过 libcap 工具设置并检查,核心文件被更新替换后需重新设置,再以普通用户启动。
作者原文@yiguodevThanks for the report. We plan to provide an RPM package in a future release.
For the ZIP build, missing network capabilities on
OneXrayCorecan prevent the VPN from working even when the app opens. Open a terminal in the extractedOneXrayfolder (the folder containingOneXrayCore) and run:sudo dnf install libcap sudo setcap cap_net_admin,cap_net_raw+eip ./OneXrayCore getcap ./OneXrayCoreThe last command should show:
./OneXrayCore cap_net_admin,cap_net_raw=eipFedora's
libcappackage provides both tools.Then restart OneXray as your normal user and try connecting again. Reapply the
setcapcommand after an update replacesOneXrayCore.If it still does not work, please share the
getcapoutput and the connection error or logs so we can investigate further.