EasyTier / EasyTier

A simple, decentralized mesh VPN with WireGuard support.
https://easytier.top
Apache License 2.0
459 stars 41 forks source link

没有root权限报错 #117

Closed aurorax-neo closed 1 month ago

aurorax-neo commented 1 month ago

panic occurred: PanicInfo { payload: Any { .. }, message: Some(called Result::unwrap() on an Err value: TunError(Io(Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }))), location: Location { file: "easytier/src/easytier-core.rs", line: 444, col: 22 }, can_unwind: true, force_no_backtrace: false }

如何解决?

KKRainbow commented 1 month ago

tun 设备需要 sudo 权限。 sudo 执行

aurorax-neo commented 1 month ago

tun 设备需要 sudo 权限。

sudo 执行

好的 谢谢