Board logo

標題: Tailscale subnets and exit node on GL.iNet [打印本頁]

作者: 张无忌    時間: 2025-12-21 08:57     標題: Tailscale subnets and exit node on GL.iNet

本帖最後由 张无忌 於 2026-2-26 04:06 編輯

香港人经常回大陆,但是大陆家里的互联网通常没有公网 IP,在香港没有办法查看大陆路由器和后面的 devices 如 NAS。还有我们香港人经常看体育赛事如 CCTV5,在香港看不到 CCTV5,因为香港使用香港 IP,要看 CCTV5,需要大陆 IP。

在大陆可以随便就看到 CCTV5,因为大陆电脑 IP 是大陆 IP,还有很多东西需要用大陆 IP,才能进行的,如 1、CCTV5+,CCTV16,2、影视平台如爱奇艺,3、银行 App,登录大陆网银,4、购物网站,5、游戏服务器,6、音乐 QQ Music 等等。

在香港怎样取得大陆 IP 呢?如果你在大陆居住,办理宽带,最好买一个路由器,只有大陆 GL 的路由器内置有 Tailscale [1],如 GL-MT6000,GL-MT5000,GL-MT3600BE,GL-MT3000,GL-BE6500 [2],GL-BE3600。

1)在这里我用 GL-MT6000 为例,如果不改路由器,只能做到看到路由器subnets;如果要 exit node,就需要更改你的路由器;
2)如果你不在大陆居住,或者找香港的朋友,在大陆居住装有 Tailscale,就到有大陆的 exit node;
3)或租用阿里云 / 腾讯云 / 百度云,安装 Tailscale,但是速度有限制;
4)大陆有电脑,安装了 Tailscale,Run exit node;
5)大陆安装 OpenWrt,安装 Tailscale [3]。

References:
[1] https://tailscale.com/
[2] 大陆非公网 GL.iNet Tailscale 可以让香港亲友看 CCTV5,CCTV5+ 和 CCTV16
[3] 非公网/公网 Tailscale on OpenWrt with subnets and exit node
作者: 张无忌    時間: 2025-12-21 08:57

本帖最後由 张无忌 於 2026-2-26 12:17 編輯

GL-TM6000(21.02)4.8.3,GL-TM6000(24.10)4.8.3-op24,
GL-TM5000(21.02)4.8.4,
GL-TM3600BE(21.02),
GL-TM3000(21.02),
GL-BE6500(23.05)4.8.7,
GL-BE3600(23.05)

Contents

最主要就是 A 与 B 两项
A 启动 GL.iNet Tailscale
B 启动 Tailscale subnets (GL.iNet) and exit node

其他是附加的
C 关闭 key expiry
D 升级 Tailscale
E 安装自动 reboot Tailscale
F 使用 Tailscale exit node,一定要求对方海外电子邮件

香港测试大陆非公网路由器
作者: 张无忌    時間: 2025-12-21 08:57

本帖最後由 张无忌 於 2025-12-21 02:49 編輯

A 启动 GL.iNet Tailscale

A1:GL.iNet Admin Panel
[attach]2509303[/attach]

A2:Tailscale
[attach]2509304[/attach]

A3:选 Enable Tailscale,点击 Apply
[attach]2509305[/attach]

A4:选 Allow remote allow WAN and LAN
[attach]2509306[/attach]

A5:点击 Apply
[attach]2509307[/attach]

A6:完成,点击 The device bind link
[attach]2509308[/attach]

A7:出现 https 连接
[attach]2509309[/attach]

A8:在电脑出现,输入你的电子邮箱
[attach]2509310[/attach]

A9:我选Gmail,你可以选其他,如 Hotmail
[attach]2509311[/attach]

A10:Connect
[attach]2509312[/attach]

A11:Login successful
[attach]2509313[/attach]

A12:Machine
[attach]2509314[/attach]
作者: 张无忌    時間: 2025-12-21 08:57

本帖最後由 张无忌 於 2026-2-25 14:13 編輯

B 启动 Tailscale subnets (GL.iNet) and exit node

B1:PuTTY IP=192.168.8.1
[attach]2509315[/attach]

B2:"tailscale up --advertise-exit-node --accept-dns=false --accept-routes --advertise-routes=192.168.8.0/24,192.168.55.0/24" 就是加一句,便有大陆 IP exit node。
  1. root@GL-BE6500:~# tailscale up --advertise-exit-node --accept-dns=false --accept
  2. -routes --advertise-routes=192.168.8.0/24,192.168.55.0/24
  3. root@GL-BE6500:~#
複製代碼
..

B3:点击 ...
[attach]2509317[/attach]

B4:点击 Exit route settings
[attach]2509318[/attach]

B5:点击 Subnets: 192.168.8.0/24 and 192.168.55.0/24,Exit node: Use as exit node
[attach]2509319[/attach]

B6:点击 Save
[attach]2509320[/attach]

B7:Machine subnets and exit node enabled
[attach]2509321[/attach]
作者: 张无忌    時間: 2025-12-21 08:58

本帖最後由 张无忌 於 2025-12-21 05:26 編輯

C  关闭 Tailscale key expiry

C1:点击最右边 ...
[attach]2509341[/attach]

C2:Disable key expiry
[attach]2509342[/attach]

C3:Expiry disabled
[attach]2509343[/attach]
作者: 张无忌    時間: 2025-12-21 08:58

本帖最後由 张无忌 於 2025-12-24 08:24 編輯

D 升级 Tailscale

tailscale update
service tailscale restart

D1:Tailscale update
  1. root@GL-MT6000:~# tailscale update
  2. This will update Tailscale from 1.80.3 to 1.92.1. Continue? [y/n] y
  3. .
  4. .
  5. .
  6. Tailscale binaries updated successfully.
  7. Please restart tailscaled to finish the update.
複製代碼
..

D2:Restart using service tailscale restart
  1. root@GL-MT6000:~# service tailscale restart
  2. TPM: error opening: stat /dev/tpmrm0: no such file or directory
  3. .
  4. .
  5. .
  6. flushing log.
  7. logger closing down
  8. root@GL-MT6000:~#
複製代碼
..

D3:升级到 1.92.1
[attach]2509344[/attach]
作者: 张无忌    時間: 2025-12-21 08:58

本帖最後由 张无忌 於 2026-2-25 14:32 編輯

E 安装自动 reboot Tailscale

如果没有下面的 工作,但路由器 reboot 后接 exit node 就不能工作,加上后 reboot,就依然工作。

SYSTEM -> Advanced Settings,点击 Install Now,Go To LuCI。
OpenWrt* Login root and password,
System -> Startup,选 Local Startup
  
E1: 放入 "( sleep 60; tailscale set --advertise-exit-node ) &"
  1. # Put your custom commands here that should be executed once
  2. # the system init finished. By default this file does nothing.

  3. . /lib/functions/gl_util.sh
  4. remount_ubifs

  5. ( sleep 60; tailscale set --advertise-exit-node ) &

  6. exit 0
複製代碼
..

E2: 点击 Apply

E3: Reboot,等 60 秒,exit node 便成功。
作者: 张无忌    時間: 2025-12-21 08:58

本帖最後由 张无忌 於 2025-12-21 05:41 編輯

F 使用 Tailscale exit node,一定要求对方海外电子邮件

F1:点击 Share
[attach]2509347[/attach]

F2:填写对方海外电子邮件
[attach]2509348[/attach]
作者: 张无忌    時間: 2025-12-21 08:58

本帖最後由 张无忌 於 2025-12-21 05:42 編輯

香港测试大陆非公网路由器

为了简化操作,用手机安装 Tailscale,然后在 EXIT NODE 选我大陆的 gl-mt6000 就可以,选后选 CCTV5。香港的朋友都测试我在大陆非公网的路由器,他们在晚上看看 CCTV5 和 CCTV5+ 都非常畅顺!!!
作者: Atpl320    時間: 2026-3-8 02:58

不能直接經router 之後上網,要經電腦?
作者: 张无忌    時間: 2026-3-8 09:26

不能直接經router 之後上網,要經電腦?
Atpl320 發表於 2026-3-7 18:58


我在大陆,大陆的非公网 IP 的 GL.iNet 安装了 subnets and exit node,之后,都可以正常上网,用手机都可以,不用电脑也可以,在大陆只能上大陆网。如果再上 YouTube,在大陆手机要安装 Tailscale,还有香港要有 Tailscale exit node(用 GL.iNet,Apple TV,Linux vps)都可以。

至于你的 "不能直接經router 之後上網,要經電腦?",平时我电脑上网,而不用电脑,怎样连(用电脑)?

再说 "不能直接經router 之後上網,要經電腦?",如果大陆安装了 Tailscale subnets and exit node 后,香港的朋友,邀请他们加入 Tailscale 后,就可以在香港连接大陆 IP。
作者: Atpl320    時間: 2026-3-8 19:57

回覆 11# 张无忌


    我香港有glinet, node mode 要在香港用pc開啓?
作者: 张无忌    時間: 2026-3-8 20:44

回覆 12# Atpl320

香港有 GL.iNet 和 public IP,用 WireGuard server 就可以,不用 Tailscale。

你的目的什么?
作者: Atpl320    時間: 2026-3-8 20:57

回覆 13# 张无忌
Tail不是更加好嗎
作者: 张无忌    時間: 2026-3-8 21:05

回覆 14# Atpl320

也可以,在香港 GL.iNet 可以把 Tailscale subnets and exit node 和 WireGuard server 设好,在大陆可以用 WireGuard 或 Tailscale 接香港 GL.iNet。
作者: Atpl320    時間: 2026-3-9 00:54

回覆 15# 张无忌

不用pc怎用tailscale開exit node呢?
作者: 张无忌    時間: 2026-3-9 12:30

回覆 16# Atpl320

PC(Windows or macOS)是一定要,用来 config Tailscale,按照教程去 config,便有 subnets and exit node。

手机:安装 Tailscale,然后就可以 connect,如果在大陆,你就可以用HK exit node,看 YouTube and WhatsApp。

大陆电脑:安装 Tailscale,通过 subnet 看看 HK router 情况,如果看 YouTube,就要打开 HK exit node。
作者: jackwong717    時間: 2026-3-9 12:43

回覆  张无忌

不用pc怎用tailscale開exit node呢?
Atpl320 發表於 2026-3-8 16:54



    原理差唔多
https://youtu.be/rsGV_VDtf-Q?si=8FHX7i3zxVg8n95o





歡迎光臨 電腦領域 HKEPC Hardware (https://www.hkepc.com/forum/) Powered by Discuz! 7.2