当前位置:首页 > 网络 > 旁路由iStoreOS安装配置Tailscale

旁路由iStoreOS安装配置Tailscale

网络1个月前 (02-21)

旁路由iStoreOS安装配置Tailscale

虽然家里的宽带网络有公网ip,但是还是怕哪天被电信回收掉,为了访问家庭内网的资源,选择了通过WireGuard改进来的Tailscale,无需公网地址并且去中心化,实现各个节点之间点对点的连接。配置简单友好,支持的各类平台和客户端,下面是在基于OpenWrt的iStoreOS上的配置过程。


#官方地址页面

https://github.com/adyanth/openwrt-tailscale-enabler


下载并解压openwrt-tailscale-enabler

wget https://github.com/adyanth/openwrt-tailscale-enabler/releases/download/v1.36.1-fb2f6cf-autoupdate/openwrt-tailscale-enabler-v1.36.1-fb2f6cf-autoupdate.tgz
tar x -zvC / -f openwrt-tailscale-enabler-v1.36.1-fb2f6cf-autoupdate.tgz

旁路由iStoreOS安装配置Tailscale


安装依赖

opkg update
opkg install libustream-openssl ca-bundle kmod-tun

旁路由iStoreOS安装配置Tailscale


设置自启

/etc/init.d/tailscale enable
ls /etc/rc.d/S*tailscale*

旁路由iStoreOS安装配置Tailscale


运行并获取登录链接

/etc/init.d/tailscale start
tailscale up

旁路由iStoreOS安装配置Tailscale


浏览器打开链接确认设备

旁路由iStoreOS安装配置Tailscale



开启子网路由

tailscale up --accept-dns=false --advertise-routes=10.0.0.0/27

旁路由iStoreOS安装配置Tailscale


旁路由iStoreOS安装配置Tailscale

返回首页配置设备,关闭密钥过期,并打开子网路由,其他客户端登录和路由器一样的google账号就可以连接进内网了。


第二种办法是使用opkg安装,但是版本收录的比较老

opkg update
opkg list|grep tailscale 
opkg install tailscale
/etc/init.d/tailscale start
tailscale up
tailscale up --accept-dns=false --advertise-routes=10.0.0.0/27


本站所有文章均可随意转载,转载时请保留原文链接及作者。

本文链接:https://www.vos.cn/net/553.html

相关文章

解决OpenWrt下qBittorrent下载缓慢问题

解决OpenWrt下qBittorrent下载缓慢问题

qBittorrent的配置如果有问题,就会出现的下载速度很慢,或者下载几秒就出错确保默认保存路径有可写权限开启UPNP和随机端口按图中勾选手工添加tracker使用XIU2/TrackersList...

家用旁路由SmartDNS搭配PassWall配置

家用旁路由SmartDNS搭配PassWall配置

家用路由使用SmartDNS + PassWall实现国内外流量分流配置网络-DHCP/DNS不勾选DNS重定向,DNS转发填写127.0.0.1#6053使用/etc/ethers配置 勾...