From 90e4c8def6edcecadb59c3a6fcaf69a6b846ac76 Mon Sep 17 00:00:00 2001 From: asvow Date: Mon, 29 Jan 2024 21:23:14 +0800 Subject: [PATCH] add README.md --- README.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9969d1f --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +# luci-app-tailscale + +Tailscale is a zero config VPN for building secure networks. + +## How to build + +- Only compatible with luci2 version + +- Enter in your openwrt dir + + *1. replace the default startup script and configuration of Tailscale.* + ```shell + sed -i '/\/etc\/init\.d\/tailscale\|\/etc\/config\/tailscale/d' feeds/packages/net/tailscale/Makefile + ``` + + *2. get luci-app-tailscale source & building* + ```shell + git clone https://github.com/asvow/luci-app-tailscale package/luci-app-tailscale + make menuconfig # choose LUCI -> Applications -> luci-app-tailscale + make package/luci-app-tailscale/compile V=s # luci-app-tailscale + ``` + +-------------- + +## How to install prebuilt packages + +- Upload the prebuilt ipk package to the /tmp directory of OpenWrt + +- Login OpenWrt terminal (SSH) + + ```shell + opkg update + opkg install --force-overwrite luci-app-tailscale_*_all.ipk + ``` + +-------------- + +## Thanks +- [Carseason/openwrt-tailscale](https://github.com/Carseason/openwrt-tailscale) +- [immortalwrt/luci-app-zerotier](https://github.com/immortalwrt/luci/blob/master/applications/luci-app-zerotier)