Post-Installation Configuration
After installing Tailscale, you need to connect your device to your Tailscale network.
Basic Setup
Simple usage:
sh
# Log in to the Tailscale network
tailscale upExample usage:
sh
# Log in to the Tailscale network with custom hostname, no Tailscale DNS, advertise subnet routes, act as exit node
tailscale up \
--accept-dns=false \
--advertise-routes=10.0.0.0/24 \
--advertise-exit-nodeMore configuration options: See the OpenWrt official docs or Tailscale official docs
OpenWrt 22.03 Users
Add --netfilter-mode=off to your tailscale up command. For OpenWrt 23+, do not include this flag.
Common Configuration Options
| Flag | Description |
|---|---|
--hostname=NAME | Set a custom hostname |
--accept-dns=false | Don't use Tailscale DNS |
--advertise-routes=x.x.x.x/xx | Advertise subnet routes |
--advertise-exit-node | Act as exit node |
--accept-routes | Accept routes advertised by other devices |
--netfilter-mode=off | Disable netfilter (required for OpenWrt 22.03) |
Enable Auto-Start
sh
/etc/init.d/tailscale enable
/etc/init.d/tailscale startCheck Status
sh
/etc/init.d/tailscale status
tailscale status
tailscale ipUpdate Tailscale
sh
# APK
apk update && apk upgrade tailscale
# OPKG
opkg update && opkg upgrade tailscaleYou can also update with the one-click script (auto-detects the install mode and is disconnect-protected, suitable for remote SSH/Tailscale sessions):
sh
sh install.sh --update --yesUninstall
sh
/etc/init.d/tailscale stop
/etc/init.d/tailscale disable
# For APK package manager
apk del tailscale
# For OPKG package manager
opkg remove tailscale
rm -rf /etc/tailscale /var/lib/tailscaleTIP
If apk del / opkg remove refuses to remove the package (another package depends on it, e.g. luci-app-tailscale-community), remove the dependent package first and retry.
Next Steps
- LuCI Web UI — Graphical management interface
- Memory Optimization — Reduce memory usage
- FAQ — Common questions