Install Tailscale
Tailscale supplies a secure way to connect these ADSB.im and Indi-Allsky systems together in a secure manner. They are, for the most part, not secure themselves.
The ADSB.im servers have Tailscale built into the configuration. All that is required is to enable it and link the system to the VPN network.
These instructions assume that a Tailscale network has been setup and the initial server defined. A quick start guide and video to setup the account and network is here:
Raspberry Pi Installation
I normally do a sudo to have root privileges. This saves having to to it on every command.
First, the usual getting things up to date:
apt update
apt upgrade
Setting up to access the Tailscale Repo is next:
apt install -y curl apt-transport-https
curl -fsSL https://pkgs.tailscale.com/stable/raspbian/bullseye.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg > /dev/null
The next step is add the Tailscale Repo to our system:
curl -fsSL https://pkgs.tailscale.com/stable/raspbian/bullseye.tailscale-keyring.list | tee /etc/apt/sources.list.d/tailscale.list
apt update
Next we will install Tailscale itself.
apt install tailscale
To connect to the user Tailscale network, execute the following. It will supply a link to initially access the network. Open the link in a browser and use the credentials that were used to setup the account.
tailscale up
Tailscale uses 2-factor authentication. It will prompt to open the Google app on your phone. Click on resend if it doesn't initially appear.
Tailscale Basics
Up command: We already used this in the last section. It is used to start the Tailscale service on your Pi.
sudo tailscale up
Note that if you are doing this for the first time like above or you’ve deauthorized the device (command below), you will be prompted to log in as we did above.
Down command: This command allows you to stop the Tailscale service (without deleting the authorization permissions).
sudo tailscale down
If you want to start the service again, execute the up command. Logout command: This command is used when you don’t want to use Tailscale on your Pi and want to disconnect it from your Tailscale network.
sudo tailscale logout
IP command: As the name suggests, this command retrieves your Pi’s unique IP address within your Tailscale network. You can also get this from your Tailscale dashboard as shown in the last section.
tailscale ip
It returns both the IPv4 and IPv6 address for your device. An example output for the above command looks like this:
100.xxx.xxx.xxx # IPv4 address
fd7a:xxxx:xxxx::xxxx:9147 # IPv6 address
Status command: When you want to check what devices are a part of your network, you can use this status command. It provides you with a list of devices in your network and their
IP addresses (these are the addresses of your devices in your VPN).
<syntaxhighlight lang="shell">
tailscale status
root@raspberrypi:~# tailscale status 100.106.139.6 raspberrypi lynnmacey@ linux - 100.116.191.82 almanor lynnmacey@ linux offline 100.112.86.125 chico-lynn lynnmacey@ windows offline 100.105.38.87 chico2 lynnmacey@ windows offline 100.104.21.74 kcic6-chico lynnmacey@ linux - root@raspberrypi:~#
Those are all the commands you will need to manage your device and the Tailscale network it is part of. Now, let’s add a new device to our network and test how to establish a secure connection between them.
Return to: Technical Guides, ADS-B Reception, Decoding & Sharing, Install Indi-Allsky
