Code Monkey home page Code Monkey logo

tailscale-openwrt's Introduction

Tailscale on OpenWRT 😃 Page Views Count

在OpenWRT上部署Tailscale的最简单方法
已测试支持的架构:x86_64、aarch64、mipsle、mips
未经测试的架构:armv8l、armv7l、riscv64、mips64、mips64le、mipsle、i386、geode
  • 尽管我的install.sh脚本中有预设armv8l、armv7l、riscv64、mips、mips64、mips64le、i386、geode这些架构的安装命令,但由于系统以及机器架构的不同,导致运行查看架构的命令 uname -m 出来的结果 可能 不是脚本中预设的内容,所以有可能因为对不上而查找架构失败,因此如果你能测试这个脚本,并在issues中通知运行的结果,我将尽快更新脚本,以及文档中支持的架构部分。
  • 如果您想自定义脚本内容,请fork我的仓库,切换到相应的分支,修改/usr/bin/文件,将下载链接更改为您的仓库,Github Actions会自动将修改后的内容打包到tgz中,并将其上传到当前仓库。然后修改install.sh和Readme.MD文件中的用户名以指向您的仓库。

此分支的安装脚本及tailscale下载器都添加了多个代理, 如果代理全部失效, 请提issue联系我更换代理

image

注:clash for windows/clash verge的TUN模式与DockerDesktop、Tailscale不兼容, 解决办法: 暂时关闭TUN, 登录/使用完毕后再打开. 原理


0x00 安装

全新安装

wget -O- https://ghproxy.cc/https://raw.githubusercontent.com/CH3NGYZ/tailscale-openwrt/chinese_mainland/install.sh | sh

0x01 卸载

  • 请注意不要在ssh连接期间卸载,因为ssh连接将丢失!使用风险自负。
wget -O- https://ghproxy.cc/https://raw.githubusercontent.com/CH3NGYZ/tailscale-openwrt/chinese_mainland/uninstall.sh | sh

0x02 升级

  • 升级tailscale
  • 每次启动openwrt时tailscale_downloader都会通过网络下载最新版本的TailScale的可执行文件。
reboot
  • 保留配置升级
  • 如果下载器脚本(tailscale_downloader)存在版本更新(更新代理地址等), 运行以下命令更新最新下载器脚本:
rm -rf /tmp/tailscale* && wget -O- https://ghproxy.cc/https://raw.githubusercontent.com/CH3NGYZ/tailscale-openwrt/chinese_mainland/install.sh | sh && reboot

如果好用,麻烦动动小手点个Star,谢谢啦!

如果有新版本可用, 但是还没到actions运行时间, 你可以手动点击start触发actions运行, 更新最新版本.


特别感谢:

adyanth [openwrt-tailscale-enabler]

tailscale-openwrt's People

Contributors

ch3ngyz avatar actions-user avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.