Skip to content

Instantly share code, notes, and snippets.

@SourLemonJuice
Created July 10, 2024 00:34
Show Gist options
  • Save SourLemonJuice/d29d80355356429ec4c5490ea9896b78 to your computer and use it in GitHub Desktop.
Save SourLemonJuice/d29d80355356429ec4c5490ea9896b78 to your computer and use it in GitHub Desktop.
快速为普通用户配置 clash 运行 tun 模式的执行权限。详情在注释链接的 issue 里,这个活本身是 GUI 软件干的,但不也是有点用对吧。
# https://github.com/zzzgydi/clash-verge/issues/182
# as root
setcap cap_net_bind_service,cap_net_admin=+ep /usr/bin/clash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment