From 7b8b796a71def347dcb95b9a7475305d8863872e Mon Sep 17 00:00:00 2001 From: Florian Preinstorfer Date: Tue, 5 Aug 2025 12:56:01 +0200 Subject: [PATCH] docs: connect Android using a preauthkey Fixes: #2616 --- docs/usage/connect/android.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/usage/connect/android.md b/docs/usage/connect/android.md index 98305bd7..b6fa3a66 100644 --- a/docs/usage/connect/android.md +++ b/docs/usage/connect/android.md @@ -6,9 +6,23 @@ This documentation has the goal of showing how a user can use the official Andro Install the official Tailscale Android client from the [Google Play Store](https://play.google.com/store/apps/details?id=com.tailscale.ipn) or [F-Droid](https://f-droid.org/packages/com.tailscale.ipn/). -## Configuring the headscale URL +## Connect via normal, interactive login - Open the app and select the settings menu in the upper-right corner - Tap on `Accounts` - In the kebab menu icon (three dots) in the upper-right corner select `Use an alternate server` - Enter your server URL (e.g `https://headscale.example.com`) and follow the instructions +- The client connects automatically as soon as the node registration is complete on headscale. Until then, nothing is + visible in the server logs. + +## Connect using a preauthkey + +- Open the app and select the settings menu in the upper-right corner +- Tap on `Accounts` +- In the kebab menu icon (three dots) in the upper-right corner select `Use an alternate server` +- Enter your server URL (e.g `https://headscale.example.com`). If login prompts open, close it and continue +- Open the settings menu in the upper-right corner +- Tap on `Accounts` +- In the kebab menu icon (three dots) in the upper-right corner select `Use an auth key` +- Enter your [preauthkey generated from headscale](../getting-started.md#using-a-preauthkey) +- If needed, tap `Log in` on the main screen. You should now be connected to your headscale.