1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 09:58:19 +03:00
Files
android_cast/examples/wireguard/alpine-be-sudoers-wg
Anton Afanasyeu 86055bf509 sync on be, vpn
2026-06-13 15:31:18 +02:00

9 lines
403 B
Plaintext

# Install on Alpine BE: /etc/sudoers.d/androidcast-wg (chmod 440)
# PHP-FPM pool user is nginx (see /etc/php81/php-fpm.d/www.conf).
Defaults:nobody !requiretty
Defaults:nginx !requiretty
nobody ALL=(root) NOPASSWD: /usr/bin/wg set wg0 peer *
nginx ALL=(root) NOPASSWD: /usr/bin/wg set wg0 peer *
nginx ALL=(root) NOPASSWD: /usr/bin/wg show wg0 dump
nobody ALL=(root) NOPASSWD: /usr/bin/wg show wg0 dump