sudo gedit /usr/local/bin/private-mode.sh
Inside paste the contents:
#!/bin/bash
if [ $EUID != 0 ]; then
sudo "$0" "$@"
exit $?
finmcli radio wifi off
macchanger -r wlo1>/dev/null
nmcli radio wifi on
sudo chmod +x /usr/local/bin/private-mode.sh
sudo crontab -e
Add this to the end:
@reboot /usr/local/bin/private-mode.sh
Say we use azirevpn-us1
:
sudo systemctl enable wg-quick@azirevpn-us1