small_server_thingies/tailscale.md
2023-02-26 00:28:34 +01:00

1.4 KiB

Tailscale

I made my Tailscale account with the email noesfacilvivirsinemail< do-not-parse-me>atgmail.com.

On Umbrel it just works magically, no clue on how it's rolling.

On my phone it's just an app.

On navaja, I decided to install it straightaway, without docker. I followed the instructions here: https://tailscale.com/kb/1038/install-debian-bullseye/.

curl -fsSL https://pkgs.tailscale.com/stable/debian/bullseye.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
curl -fsSL https://pkgs.tailscale.com/stable/debian/bullseye.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list

sudo apt-get update
sudo apt-get install tailscale

sudo tailscale up

# In between here, you need to login through the browser
# A link will appear. It takes you to a tailscale page where you need to enter
# your credentials.

tailscale ip -4

TUN

The first time I tried to run tailscale on a Hostinger VPS, I got the following error: failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)

I read something about some stuff called TUN on a forum, and realised that the VPS panel in hostinger had a switch with the title: TUN/TAP Adapter: It's a virtual network adapter that will allow you to set up a VPN on your server. . I activated it (comes off by default) and that did the trick.