Configure nextdns and tailscale on linux (specifically Ubuntu) automatically
Script has to be run as sudo. It takes two arguments TailScale Auth Token and NextDNS config id to setup both on an Ubuntu machine.
To run:
sudo ./setup.sh <tailscale_auth_token> <nextdns_config_id>
You need to get the NextDNS id before you can use this code. We need to automate this.
You need to setup a node authorization before you can use this code. This can be setup here. We need to automate this.