本帖最後由 张无忌 於 2026-2-21 13:14 編輯
OpenWrt 25.12.0-rc5 Tailscale
GL-MT6000 25.12.0-rc5
Cudy TR3000 256MB 25.12.0-rc5
1. 大陆安装,香港不用,use PuTTY- sed -i 's_https\?://downloads.openwrt.org_https://mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/apk/repositories.d/distfeeds.list
複製代碼 ..
2. Install Tailscale- apk update && apk add tailscale
複製代碼 ..
3. Initial Setup,用 browser 打开 https- root@OpenWrt:~# tailscale up
- Error: changing settings via 'tailscale up' requires mentioning all
- non-default flags. To proceed, either re-run your command with --reset or
- use the command below to explicitly mention the current value of
- all non-default settings:
- tailscale up --advertise-exit-node --advertise-routes=192.168.1.0/24,192.168.55.0/24 --snat-subnet-routes=false
- root@OpenWrt:~#
複製代碼 ..
4. Command "tailscale up --advertise-exit-node --advertise-routes=192.168.1.0/24,192.168.55.0/24 --snat-subnet-routes=false"- root@OpenWrt:~# tailscale up --advertise-exit-node --advertise-routes=192.168.1.
- 0/24,192.168.55.0/24 --snat-subnet-routes=false
- Warning: UDP GRO forwarding is suboptimally configured on eth0, UDP forwarding throughput capability will increase with a configuration change.
- See https://tailscale.com/s/ethtool-config-udp-gro
- To authenticate, visit:
- https://login.tailscale.com/a/5f409f736b092
複製代碼 ..
5. Add subnets and exit node
6. Add Tailscale interface
图5:
7. Setup firewall
图6:
8. "service tailscale restart"
#########################
9. Add "tailscale update" and "service tailscale restart"
Problems with tailscale update.
10. Reboot
Reference:
[1] 非公网/公网 Tailscale on OpenWrt with subnets and exit node |