tailscale: update to version 1.8.1
authorJan Pavlinec <jan.pavlinec@nic.cz>
Fri, 7 May 2021 16:53:58 +0000 (18:53 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Wed, 1 Sep 2021 12:51:17 +0000 (14:51 +0200)
Add readme with simple tailscale howto.

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 791de7b5d07e54556888f3c6689b8bf6d29c184d)

net/tailscale/Makefile
net/tailscale/README.md [new file with mode: 0644]

index b5d353aea614f232f51023c9ae7ef882c4dbab72..c737ca2c409968d02e5c484668ec91f32bfec9c3 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tailscale
-PKG_VERSION:=1.6.0
+PKG_VERSION:=1.8.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=tailscale-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/tailscale/tailscale/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=4591c6f6d3d1f9d5aecaa63dd580c389067edeb7287cd587b108ea6a0aa811e7
+PKG_HASH:=5d08e9c4cbb51da94951281003f3911933962dad0a85003e4b1852ac7b023bcd
 
 PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
 PKG_LICENSE:=BSD-3-Clause
diff --git a/net/tailscale/README.md b/net/tailscale/README.md
new file mode 100644 (file)
index 0000000..d3b58e7
--- /dev/null
@@ -0,0 +1,28 @@
+# Tailscale
+This readme should help you with tailscale client setup.
+
+## Install
+There are two packages related to tailscale. Tailscaled (daemon which has to run every time you want to be connected to VPN) and tailscale (package with a utility which is necessary for registering device).
+
+To install them run
+```
+opkg install tailscale tailscaled
+```
+
+## First setup
+
+First, enable and run daemon
+
+```
+/etc/init.d/tailscale enable
+/etc/init.d/tailscale start
+```
+
+Then you should use tailscale utility to get a login link for your device.
+
+Run command and finish device registration with the given URL.
+```
+tailscale up
+```
+
+After that, you should see your router in tailscale admin page.