Change sing-box path in sudoers to /opt/v2rayN/

This commit is contained in:
Valeriy Manzhos 2026-04-07 13:03:33 +03:00
parent 0d72b8a40c
commit df04a33e33
No known key found for this signature in database
GPG key ID: 6547CFC8E2EC3D90

View file

@ -1,4 +1,4 @@
%v2rayn ALL = (v2rayn-core) NOPASSWD: /opt/v2rayn-core/sing-box
%v2rayn ALL = (v2rayn-core) NOPASSWD: /opt/v2rayN/bin/sing_box/sing-box
%v2rayn ALL = (v2rayn-core) NOPASSWD: /opt/v2rayn-core/hev-socks5-tunnel /opt/v2rayn-core/v2rayn-tun.yaml
%v2rayn ALL = (root) NOPASSWD: /sbin/ip rule add pref 5000 not uidrange 994-994 lookup 6418
%v2rayn ALL = (root) NOPASSWD: /sbin/ip route add table 6418 default via 198.18.0.1 dev v2rayn-tun