forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    查看: 129|回复: 8

    [经验分享] GL.iNet GL-MT6000 with Tailscale subnets and exit node

    [复制链接]

    57

    主题

    391

    帖子

    9248

    积分

    论坛元老

    Rank: 8Rank: 8

    积分
    9248
     楼主| 发表于 前天 19:51 | 显示全部楼层 |阅读模式
    本帖最后由 角色 于 2025-12-16 21:01 编辑

    我用 GL-MT6000 做示范,对于某些人 exit node (出口节点) 没有什么用,但是对外国大陆人回大陆非常有用,意思海外大陆人在电脑或手机连去大陆,一般是外国 IP,在大陆一些 App,需要大陆 IP 才能进行,所以大陆家里有一台 exit note ,对海外华人非常方便的,只要海外华人有大陆的 exit node,就用手机或电脑用 Tailscale,选用大陆的 exit node,就可以有大陆 IP,海外华人虚拟在大陆进行业务。

    请注意海外华人对大陆人认识的,而且有海外的电子邮件,交给大陆居民,然后向大陆居民发信,进行邀请,这与 VxN 类似,但是不是有 user name and password 就行,需要你的海外电子邮件。现在我用 GL-MT6500,其他如 GL-BE6500,GL-BE3000,GL-MT3000 等等都能用。

    海外华人 (包括香港与澳门) 需要大陆 IP:

    1. CCTV5,CCTV5+,CCTV16
    2. 影视平台如爱奇艺
    3. 银行 App,登录大陆网银
    4. 购物网站
    5. 游戏服务器
    6. 音乐 QQ Music

    回复

    使用道具 举报

    57

    主题

    391

    帖子

    9248

    积分

    论坛元老

    Rank: 8Rank: 8

    积分
    9248
     楼主| 发表于 前天 19:52 | 显示全部楼层
    回复

    使用道具 举报

    57

    主题

    391

    帖子

    9248

    积分

    论坛元老

    Rank: 8Rank: 8

    积分
    9248
     楼主| 发表于 前天 19:52 | 显示全部楼层
    本帖最后由 角色 于 2025-12-16 14:08 编辑

    A 启动 GL.iNet Tailscale

    A1:GL.iNet Admin Panel


    A2:Tailscale


    A3:选 Enable Tailscale,点击 Apply


    A4:选 Allow remote allow WAN and LAN


    A5:点击 Apply


    A6:完成,点击 The device bind link


    A7:出现 https 连接


    A8:在电脑出现,输入你的海外电子邮箱


    A9:我选Gmail,你可以选 Hotmail


    A10:Connect


    A11:Login successful


    A12:Machine

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    回复

    使用道具 举报

    57

    主题

    391

    帖子

    9248

    积分

    论坛元老

    Rank: 8Rank: 8

    积分
    9248
     楼主| 发表于 前天 19:53 | 显示全部楼层
    本帖最后由 角色 于 2025-12-16 15:21 编辑

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

    B1: PuTTY IP=192.168.8.1


    B2:tailscale up --advertise-routes=192.168.8.0/24,192.168.55.0/24 --snat-subnet-routes=false --advertise-exit-node --reset


    B3:点击 ...


    B4:点击 Exit route settings


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


    B6:点击 Save


    B7:Machine subnets and exit node enabled

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    回复

    使用道具 举报

    57

    主题

    391

    帖子

    9248

    积分

    论坛元老

    Rank: 8Rank: 8

    积分
    9248
     楼主| 发表于 前天 19:53 | 显示全部楼层
    本帖最后由 角色 于 2025-12-16 13:45 编辑

    C  关闭 Tailscale key expiry

    C1:点击最右边 ...


    C2:Disable key expiry



    C3:Expiry disabled


    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    回复

    使用道具 举报

    57

    主题

    391

    帖子

    9248

    积分

    论坛元老

    Rank: 8Rank: 8

    积分
    9248
     楼主| 发表于 前天 19:54 | 显示全部楼层
    本帖最后由 角色 于 2025-12-16 20:27 编辑

    D 升级 Tailscale

    D1:用 PuTTY IP=192.168.8.1 打开 GL-MT6000 shell,改动 OpenWrt repository server,如果不改就有 errors
    1. root@GL-MT6000:~# sed -i 's_https\?://downloads.openwrt.org_https://mirrors.tuna
    2. .tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
    复制代码

    D2:Opkg update
    1. root@GL-MT6000:~# opkg update
    2. Downloading https://fw.gl-inet.cn/releases/v24.x/24.10.4/mediatek/filogic/Packages.gz
    3. Updated list of available packages in /var/opkg-lists/core
    4. Downloading https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/base/Packages.gz
    5. Updated list of available packages in /var/opkg-lists/base
    6. Downloading https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/luci/Packages.gz
    7. Updated list of available packages in /var/opkg-lists/luci
    8. Downloading https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/packages/Packages.gz
    9. Updated list of available packages in /var/opkg-lists/packages
    10. Downloading https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/routing/Packages.gz
    11. Updated list of available packages in /var/opkg-lists/routing
    12. Downloading https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/telephony/Packages.gz
    13. Updated list of available packages in /var/opkg-lists/telephony
    14. Updating database.
    15. Database update completed.
    复制代码

    D3: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. Downloading "https://pkgs.tailscale.com/stable/tailscale_1.92.1_arm64.tgz"
    4. Download size: 31108928
    5. Downloaded 512/31108928 (0.0%)
    6. Downloaded 18228128/31108928 (58.6%)
    7. Downloaded 31108928/31108928 (100.0%)
    8. Downloading "https://pkgs.tailscale.com/stable/tailscale_1.92.1_arm64.tgz.sig"
    9. Signature OK
    10. Extracting "/root/.cache/tailscale-update/tailscale_1.92.1_arm64.tgz"
    11. Updated /usr/sbin/tailscale
    12. Updated /usr/sbin/tailscaled
    13. Tailscale binaries updated successfully.
    14. Please restart tailscaled to finish the update.
    复制代码

    D4: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. logtail started
    4. Program starting: v1.92.1-tfb55d3905-g9ac7fadc0, Go 1.25.5: []string{"/usr/sbin/tailscaled", "--cleanup"}
    5. LogID: 9dd622de2bc6c72c4bf456677a181f447abaabaadda75724814895705fa704d7
    6. logpolicy: using system state directory "/var/lib/tailscale"
    7. dns: [rc=resolvconf resolvconf=no ret=direct]
    8. dns: using "direct" mode
    9. dns: using *dns.directManager
    10. dns: inotify: NewDirWatcher: context canceled
    11. linuxfw: clear ip6tables: exec: "ip6tables": executable file not found in $PATH
    12. flushing log.
    13. logger closing down
    14. root@GL-MT6000:~#
    复制代码

    D5:升级到 1.92.1

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    回复

    使用道具 举报

    57

    主题

    391

    帖子

    9248

    积分

    论坛元老

    Rank: 8Rank: 8

    积分
    9248
     楼主| 发表于 前天 19:54 | 显示全部楼层
    本帖最后由 角色 于 2025-12-16 14:12 编辑

    E 安装自动 reboot Tailscale

    E1: Reboot 后,一次 "( 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
    复制代码

    回复

    使用道具 举报

    57

    主题

    391

    帖子

    9248

    积分

    论坛元老

    Rank: 8Rank: 8

    积分
    9248
     楼主| 发表于 前天 19:54 | 显示全部楼层
    本帖最后由 角色 于 2025-12-16 18:00 编辑

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

    F1:点击 Share


    F2:填写对方海外电子邮件


    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    回复

    使用道具 举报

    57

    主题

    391

    帖子

    9248

    积分

    论坛元老

    Rank: 8Rank: 8

    积分
    9248
     楼主| 发表于 前天 19:55 | 显示全部楼层
    本帖最后由 角色 于 2025-12-16 19:44 编辑

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

    香港的朋友都测试我在大陆非公网的路由器,他们在晚上看看 CCTV5 和 CCTV5+ 都非常畅顺!!!
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

    GMT+8, 2025-12-17 08:36 , Processed in 0.023128 second(s), 25 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表