This script manages tun mode
in Nekoray by updating Polkit rules. You can:
- Enable tun mode without a password.
- Require a password for tun mode.
-
Clone the repo
git clone https://github.com/omidhaqi/manage-neko-tun-pass.git && cd manage-neko-tun-pass
-
Make the script executable:
chmod +x manage.sh
-
Run it:
sudo ./manage.sh
-
Choose:
- 1: No password for tun mode.
- 2: Password required for tun mode.
The script restarts Polkit to apply changes.
That’s it!