Board logo

標題: GL.iNet with OpenWrt* on GL-MT5000 [打印本頁]

作者: 张无忌    時間: 2026-2-2 13:04     標題: GL.iNet with OpenWrt* on GL-MT5000

本帖最後由 张无忌 於 2026-2-9 15:07 編輯

我唯一的广联 router GL-MT5000,它如 GL-MT6000 没有 Wi-Fi,只有 3 ports 2.5G,RAM 1G,flash 8G;一般的功耗大约 3.3W,大约 29kWh,在大陆 0.6元 / kWh,一年大约 18元,非常便宜。

大陆网络结构,中国电信(ISP)-> 公网 -> TR3000 -> LAN switch 1 -> LAN cable (room to room) -> LAN switch 2:port-1 去 TR3000 access point,port-2 GL-TM5000,other ports connecting other routers。TR3000 是 flash 256MB RAM 512MB。

香港网络结构,HKT ISP 1G -> modem switch:port-1 接 MikroTik hAP ac3,port-2 接 GL-MT3600BE。
作者: 张无忌    時間: 2026-2-2 13:05

本帖最後由 张无忌 於 2026-4-28 00:20 編輯

MediaTek: GL-MT6000, GL-MT5000, GL-MT3600BE, GL-MT3000, Cudy TR3000
Qualcomm: GL-BE6500, GL-BE3600
OpenWrt: GL-MT6000, GL-MT3600BE, GL-MT3000, Cudy TR3000

目录  GL-MT5000

Backup (GL.iNet + OpenWrt*)

GL.iNet
淘宝 GL-MT5000
GL-MT5000 大陆 CN 转 美国 US
WireGuard client
AdGuard Home
Tailscale subnets and exit node

OpenWrt*
CPU temperature
旧安装 GL.iNet GL-MT5000 PassWall
新安装 GL.iNet GL-MT5000 PassWall using method 1
新安装 GL.iNet GL-MT5000 PassWall using method 2

OpenWrt (no formal release yet)
有 patch submission 想加入 OpenWRT 的官方支援 robotmaster
为什么 GL-MT5000 to OpenWrt 还没有上路?

PassWall on OpenWrt
OpenClash on OpenWrt
Tailscale for everyone


GL.iNet with OpenWrt* on GL-MT5000
作者: 张无忌    時間: 2026-2-2 13:05

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

GL-MT5000 大陆 CN 转 美国 US
GL-MT5000(21.02)

把 GL-MT5000 转为美国 US 后,便可以有 OpenVPN and WireGuard VPN including servers and clients,这样 router 更加有用。如果 GL-MT5000 在香港,设好 WireGuard server后,在大陆都可以用 WireGuard VPN 回港。

之前 Ckeck  CN
  1. root@GL-MT5000:~# hexdump -C -s 0x4080 -n 32 /dev/mmcblk0p2
  2. 00004080  00 00 00 00 00 00 00 00  43 4e 00 00 00 00 00 00  |........CN......|
  3. 00004090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
複製代碼
..

改变 Change CN -> US
  1. echo -n "US" | dd of=/dev/mmcblk0p2 bs=1 seek=16520 conv=notrunc
複製代碼
..

之后 Ckeck  US
  1. root@GL-MT5000:~# hexdump -C -s 0x4080 -n 32 /dev/mmcblk0p2
  2. 00004080  00 00 00 00 00 00 00 00  55 53 00 00 00 00 00 00  |........US......|
  3. 00004090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
複製代碼
..

Find CN(一般用家不用)
  1. root@GL-MT5000:~# hexdump -C /dev/mmcblk0p2 | grep -n "CN"
  2. 11:00004080  00 00 00 00 00 00 00 00  43 4e 00 00 00 00 00 00  |........CN......|
複製代碼
..
43=C 在 4088 hexadecimal = 4 x 16 x 16 x 16 + 8 x 16 + 8 = 16520


GL.iNet with OpenWrt* on GL-MT5000
作者: s.friday1004    時間: 2026-2-2 14:23

轉區到 us後,就可以啟用  vpn 功能嗎
作者: 张无忌    時間: 2026-2-2 14:32

轉區到 us後,就可以啟用  vpn 功能嗎
s.friday1004 發表於 2026-2-2 06:23


有 VPN 功能
[attach]2513827[/attach]
作者: s.friday1004    時間: 2026-2-2 14:46

這個好像有 domain policy based vpn 對嗎
作者: 张无忌    時間: 2026-2-2 17:54

这个 WireGuard VPN 像普通的 servers and clients,我在香港 GL-TM3600BE 设置 WireGuard server,在大陆用 Windows WireGuard client 都可以连到。
作者: robotmaster    時間: 2026-2-5 18:39

2.5G 超過 2 port 以上的 Wired WAN Router, 價位通常會貴一大截。

這台機  3-port 2.5G Router 現在淘寶賣緊多少?
作者: 张无忌    時間: 2026-2-6 19:53

2.5G 超過 2 port 以上的 Wired WAN Router, 價位通常會貴一大截。

這台機  3-port 2.5G Router 現在淘寶 ...
robotmaster 發表於 2026-2-5 10:39


现在 GL-MT5000 卖¥649,在开卖¥569,比以前贵了¥80。
作者: robotmaster    時間: 2026-2-7 01:51

回覆 9# 张无忌

謝謝回覆。咁比預想中貴咗少少;  如果初出優惠價 較可以接受。
作者: 张无忌    時間: 2026-2-8 14:50

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

Backup (GL.iNet + OpenWrt*)

如果只用 GL.iNet 就不能 backup,一定用 OpenWrt* 里 backup 功能。一般我有新的固件(new firmware),我用英文,所以在 /etc/opkg/distfeeds.com 里 fw.gl-inet.com,如果你在香港用英文 / 繁体就是 fw.gl-inet.com,不用改;但是我在大陆用,而且用英文版就要改成 fw.gl-inet.cn。

New firmware
OpenWrt* LuCI / shell + vi /etc/opkg/distfeeds.com, fw.gl-inet.com --> fw.gl-inet.cn
1st backup
==============
OpenWrt* shell + temperature (install only), opkg install luci-app-statistics collectd-mod-thermal htop
2nd backup
==============
* GL.iNet AdGuard home
3rd backup
==============
* GL.iNet Tailscale
+ OpenWrt* tailscale update; service tailscale restart
4th backup
==============

假如我重新来过,想到 4th backup,先
1. New firmware
2. OpenWrt* LuCI / shell + vi /etc/opkg/distfeeds.com, fw.gl-inet.com --> fw.gl-inet.cn
3. OpenWrt* shell + temperature (install only), opkg update, opkg install luci-app-statistics collectd-mod-thermal htop
4. OpenWrt* LuCI 4th backup


GL.iNet with OpenWrt* on GL-MT5000
作者: 张无忌    時間: 2026-2-8 19:00

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

AdGuard Home

打开 hkepc 或者 hk01,广告很多,所以加广告软件,很多人用 AdGuard Home,GL.iNet 安装容易。

图1:在 APPLICATIONS -> AdGuard Home,选 Enable AdGuard Home,点击 Apply
[attach]2514450[/attach]

图2:再选 AdGuard Home Handle Client Requests
[attach]2514451[/attach]

如果看 hkepc 或 hk01 没有广告,如果没有拦截,等一等,或者重启。


GL.iNet with OpenWrt* on GL-MT5000
作者: 张无忌    時間: 2026-2-8 19:04

本帖最後由 张无忌 於 2026-2-11 07:59 編輯

CPU temperature

可以看 GL.iNet CPU 的温度和其他参数。

Listing 1:/etc/opkg/distfeeds.conf,香港安装 fw.gl-inet.com
  1. src/gz glinet_core https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/mt7987a/kmod-5.4.281/aarch64_cortex-a53/kmod
  2. src/gz glinet_gli_pub https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/glinet
  3. src/gz glinet_gli_packages https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/packages
複製代碼
..

Listing 2:/etc/opkg/distfeeds.conf,大陆安装 fw.gl-inet.cn
  1. src/gz glinet_core https://fw.gl-inet.cn/releases/v21.02-SNAPSHOT/mt7987a/kmod-5.4.281/aarch64_cortex-a53/kmod
  2. src/gz glinet_gli_pub https://fw.gl-inet.cn/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/glinet
  3. src/gz glinet_gli_packages https://fw.gl-inet.cn/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/packages
複製代碼
..

图1:用 PuTTY IP=192.168.8.1
[attach]2514465[/attach]

Listing 3:
  1. opkg update
  2. opkg install luci-app-statistics collectd-mod-thermal htop
複製代碼
..

图2:OpenWrt LuCI,有 Statistics -> Setup
[attach]2514466[/attach]

图3:选 General plugins,点击 Thermal=Enabled
[attach]2514467[/attach]

图4:在 Thermal Plugin Configuration,点击 Save
[attach]2514468[/attach]

图5:点击 Save & Apply
[attach]2514469[/attach]

图6:Statistics -> Graphs
[attach]2514470[/attach]

图7:Thermal (CPU temperature)
[attach]2514471[/attach]


GL.iNet with OpenWrt* on GL-MT5000
作者: 张无忌    時間: 2026-2-8 19:08

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

Tailscale subnets and exit node

新来的 HKPEC members,在大陆都是非公网(CG-NAT),如果不在大陆家里都不可以看不到家里路由器,如果用了 GL.iNet 路由器,只要启动 GL.iNet Tailscale subnets,就可以大陆或香港看到大陆家里的路由器;在 GL.iNet 里的 OpenWrt* 修改,便成为 Tailscale exit node,可以看当地的TV,Apple TV (tvOS 17+) 里都有 Tailscale exit node。

A GL.iNet Tailscale subnets
B 关闭 key expiry
C 升级 Tailscale
D OpenWrt* 安装 Tailscale exit node
E 安装自动 reboot Tailscale

######################
A GL.iNet Tailscale subnets

A图1:APPLICATIONS -> Tailscale
[attach]2514532[/attach]

A图2:选 Enable,点击 Apply
[attach]2514534[/attach]

A图3:第一次出现 GL.iNet Tailscale,选 Allow Remote Access WAN and LAN,点击 Apply
[attach]2514535[/attach]

A图4:点击 The Device Bind Link
[attach]2514536[/attach]

A图5:出现 https,点击 https
[attach]2514537[/attach]

A图6:点击 Sign in
[attach]2514538[/attach]

A图7:点击 xxx@gmail.com
[attach]2514539[/attach]

A图8:Connect device,点击 Connect
[attach]2514540[/attach]

A图9:Login successful,点击 visit the console
[attach]2514541[/attach]

A图10:Machine 里 gl-mt5000,在右手面 ...,点击 ...
[attach]2514542[/attach]

A图11:点击 Edit route settings
[attach]2514543[/attach]

A图12:点击 Approve all,再点击 Save
[attach]2514544[/attach]

A图13:Subnets 出现
[attach]2514545[/attach]

######################
B 关闭 key expiry

B图1:点击 Disable key expiry
[attach]2514546[/attach]

B图2:出现 Expiry disabled
[attach]2514548[/attach]

######################
C 升级 Tailscale

tailscale update
service tailscale restart

C1:tailscale update
  1. root@GL-MT5000:~# tailscale update
  2. This will update Tailscale from 1.80.3 to 1.94.1. Continue? [y/n] y
  3. Downloading "https://pkgs.tailscale.com/stable/tailscale_1.94.1_arm64.tgz"
  4. Download size: 32779844
  5. Downloaded 512/32779844 (0.0%)
  6. Downloaded 32779844/32779844 (100.0%)
  7. Downloading "https://pkgs.tailscale.com/stable/tailscale_1.94.1_arm64.tgz.sig"
  8. Signature OK
  9. Extracting "/root/.cache/tailscale-update/tailscale_1.94.1_arm64.tgz"
  10. Updated /usr/sbin/tailscale
  11. Updated /usr/sbin/tailscaled
  12. Tailscale binaries updated successfully.
  13. Please restart tailscaled to finish the update.
  14. root@GL-MT5000:~#
複製代碼
..

C2:service tailscale restart
  1. root@GL-MT5000:~# service tailscale restart
  2. TPM: error opening: stat /dev/tpmrm0: no such file or directory
  3. logtail started
  4. Program starting: v1.94.1-t62c6f1cd7-g09fea6572, Go 1.25.5: []string{"/usr/sbin/tailscaled", "--cleanup"}
  5. LogID: e7b78c8d6284a93e8c8add3963825a9a0d9b0383e2e76b8c93e79232e3dfc005
  6. logpolicy: using system state directory "/var/lib/tailscale"
  7. dns: [rc=unknown ret=direct]
  8. dns: using "direct" mode
  9. dns: using *dns.directManager
  10. dns: inotify: NewDirWatcher: context canceled
  11. flushing log.
  12. logger closing down
  13. root@GL-MT5000:~#
複製代碼
..

C图1:Label 1.94.1
[attach]2514551[/attach]

######################
D OpenWrt* 安装 Tailscale exit node

D1:"tailscale up --advertise-routes=192.168.8.0/24,192.168.55.0/24 --snat-subnet-routes=false --advertise-exit-node --reset" 就是加一句,便有大陆 IP exit node。
  1. root@GL-MT5000:~# tailscale up --advertise-routes=192.168.8.0/24,192.168.55.0/24
  2. --snat-subnet-routes=false --advertise-exit-node --reset
  3. Some peers are advertising routes but --accept-routes is false
  4. root@GL-MT5000:~#
複製代碼
..

D图1:点击 Exit node,点击 Save
[attach]2514553[/attach]

D图2:Exit Node 出现
[attach]2514554[/attach]

######################
E 安装自动 reboot Tailscale

就是 reboot router 后,exit node 不能工作;所以加 "( sleep 60; tailscale set --advertise-exit-node ) &" 在 OpenWrt* System -> Startup,Local Startup。

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. echo 3 > /proc/sys/vm/drop_caches

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

  7. exit 0
複製代碼
..


GL.iNet with OpenWrt* on GL-MT5000
作者: 张无忌    時間: 2026-2-10 19:49

本帖最後由 张无忌 於 2026-2-11 02:19 編輯

WireGuard client

大陆 WireGuard client 联系香港的 WireGuard servers (MikroTik,GL.iNet,OpenWrt)。

Windows WireGuard client (copied from GL-TM3600BE WireGuard server in HK)
  1. [Interface]
  2. PrivateKey = MP4W9PopEyQt4Yo9ZP85wBtGO7qWjolpHlsy4crxrV4=
  3. Address = 10.1.0.2/24, fd00:9262:bc00:b88c::2/64
  4. DNS = 10.1.0.1, fd00:9262:bc00:b88c::1, 64.6.64.6
  5. MTU = 1420

  6. [Peer]
  7. PublicKey = rHT/pRV/ovJr7tVgRQQ2vaQA3WkcLo4C1gnV1Xd9YhM=
  8. AllowedIPs = 0.0.0.0/0, ::/0
  9. Endpoint = xxx.glddns.com:51820
  10. PersistentKeepalive = 25
複製代碼
..

图1:VPN WireGuard client,点击 +Add Manually
[attach]2514642[/attach]

图2:再点击 Manually Add Configuration
[attach]2514643[/attach]

图3:Copy-and-paste from 图1 and then 点击 Apply
[attach]2514644[/attach]

图4:点击右手面 ...
[attach]2514645[/attach]

图5:选 Start
[attach]2514647[/attach]

图6:看左手面边有绿点,说明 WireGuard 成功(大陆 VPN 香港)
[attach]2514649[/attach]

图7:要停止,按 Stop
[attach]2514650[/attach]

图8:另外 WireGuard 可以在 VPN Dashboard 操作
[attach]2514651[/attach]



GL.iNet with OpenWrt* on GL-MT5000
作者: robotmaster    時間: 2026-2-10 22:25

有 patch submission 想加入 OpenWRT 的官方支援 :

mediatek: filogic: add support for GL.iNet MT5000 (Brume3)
https://github.com/openwrt/openwrt/pull/21728
作者: 张无忌    時間: 2026-2-15 17:28

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

旧安装 GL.iNet GL-MT5000 PassWall
GL-MT5000 4.8.4
OpenWrt* 21.02
PassWall 26.1.13

GL.iNet GL-TM3000 also works

Step A1: 大陆安装的 /etc/opkg/distfeeds.conf,fw.gl-inet.cn
  1. src/gz glinet_core https://fw.gl-inet.cn/releases/v21.02-SNAPSHOT/mt7987a/kmod-5.4.281/aarch64_cortex-a53/kmod
  2. src/gz glinet_gli_pub https://fw.gl-inet.cn/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/glinet
  3. src/gz glinet_gli_packages https://fw.gl-inet.cn/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/packages
複製代碼
..

Step A2: 香港安装的 /etc/opkg/distfeeds.conf,fw.gl-inet.com
  1. src/gz glinet_core https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/mt7987a/kmod-5.4.281/aarch64_cortex-a53/kmod
  2. src/gz glinet_gli_pub https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/glinet
  3. src/gz glinet_gli_packages https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/packages
複製代碼
..

Step B: 安装大陆悟空两个 ipks,
  1. wget "https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/theme/luci-lua-runtime_all.ipk" -O /tmp/luci-lua-runtime_all.ipk
  2. wget "https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/theme/libopenssl3.ipk" -O /tmp/libopenssl3.ipk
  3. opkg update
  4. opkg install /tmp/luci-lua-runtime_all.ipk /tmp/libopenssl3.ipk
複製代碼
..

Step C: Including two main and zip files. If fail then use WireGuard copy and transfer to OpenWrt shell.
  1. wget "https://github.com/Openwrt-Passwall/openwrt-passwall/releases/download/26.1.13-1/luci-app-passwall_26.1.13-r1_all.ipk" -O luci-app-passwall_26.1.13-r1_all.ipk
  2. wget "https://github.com/Openwrt-Passwall/openwrt-passwall/releases/download/26.1.13-1/luci-i18n-passwall-zh-cn_26.1.13_all.ipk" -O luci-i18n-passwall-zh-cn_26.1.13_all.ipk
  3. wget "https://github.com/Openwrt-Passwall/openwrt-passwall/releases/download/26.1.13-1/passwall_packages_ipk_aarch64_cortex-a53.zip" -O passwall_packages_ipk_aarch64_cortex-a53.zip
複製代碼
..

Step D: unzip
  1. unzip passwall*
複製代碼
..

Step E: Move *.* /tmp
  1. mv *.* /tmp
複製代碼
..

Step F: cd /tmp; opkg install *.ipk --force-reinstall
  1. cd /tmp; opkg install *.ipk --force-reinstall
複製代碼
..

在这里不需要科学上网。
GL-TM3000 works。

############## 可能不用 ################
App update for all other apps except PassWall

Download the most updated files for PassWall version
  1. wget -O passwall-zh-cn.ipk https://github.com/Openwrt-Passwall/openwrt-passwall/releases/download/26.2.14-1/23.05-24.10_luci-i18n-passwall-zh-cn_26.2.14_all.ipk
  2. wget -O passwall.ipk https://github.com/Openwrt-Passwall/openwrt-passwall/releases/download/26.2.14-1/23.05-24.10_luci-app-passwall_26.2.14-r1_all.ipk
複製代碼
..

Add new update
  1. opkg install pass*.ipk
複製代碼
..


Reference:
[1] Openwrt-Passwall / openwrt-passwall


GL.iNet with OpenWrt* on GL-MT5000
作者: 张无忌    時間: 2026-2-15 18:33

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

新安装 GL.iNet GL-MT5000 PassWall using method 1
GL-MT5000 4.8.4
OpenWrt* 21.02
PassWall 26.2.14

GL.iNet GL-TM3000 also works

大陆安装的 /etc/opkg/distfeeds.conf,fw.gl-inet.cn
  1. src/gz glinet_core https://fw.gl-inet.cn/releases/v21.02-SNAPSHOT/mt7987a/kmod-5.4.281/aarch64_cortex-a53/kmod
  2. src/gz glinet_gli_pub https://fw.gl-inet.cn/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/glinet
  3. src/gz glinet_gli_packages https://fw.gl-inet.cn/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/packages
複製代碼
..

香港安装的 /etc/opkg/distfeeds.conf,fw.gl-inet.com
  1. src/gz glinet_core https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/mt7987a/kmod-5.4.281/aarch64_cortex-a53/kmod
  2. src/gz glinet_gli_pub https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/glinet
  3. src/gz glinet_gli_packages https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/mt7987a/packages/aarch64_cortex-a53/packages
複製代碼
..

Install via OPKG

1. Add new opkg key:
  1. wget -O passwall.pub https://master.dl.sourceforge.net/project/openwrt-passwall-build/passwall.pub
  2. opkg-key add passwall.pub
複製代碼
..

If OpenWrt* 21.02 then go to Step 4.

2. Add opkg repository:
  1. read release arch << EOF
  2. $(. /etc/openwrt_release ; echo ${DISTRIB_RELEASE%.*} $DISTRIB_ARCH)
  3. EOF
  4. for feed in passwall_luci passwall_packages passwall2; do
  5.   echo "src/gz $feed https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-$release/$arch/$feed" >> /etc/opkg/customfeeds.conf
  6. done
複製代碼
..

3. /etc/opkg/customfeeds.conf
  1. # add your custom package feeds here
  2. #
  3. # src/gz example_feed_name http://www.example.com/path/to/files
  4. src/gz passwall_luci https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-21/aarch64_cortex-a53/passwall_luci
  5. src/gz passwall_packages https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-21/aarch64_cortex-a53/passwall_packages
  6. src/gz passwall2 https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-21/aarch64_cortex-a53/passwall2
複製代碼
..

4. Change 21 to 21.02,/etc/opkg/customfeeds.conf
  1. # add your custom package feeds here
  2. #
  3. # src/gz example_feed_name http://www.example.com/path/to/files
  4. src/gz passwall_luci https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-21.02/aarch64_cortex-a53/passwall_luci
  5. src/gz passwall_packages https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-21.02/aarch64_cortex-a53/passwall_packages
  6. src/gz passwall2 https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-21.02/aarch64_cortex-a53/passwall2
複製代碼
..

5. Install package:
  1. opkg update
  2. opkg install luci-app-passwall
複製代碼
..

6. App update(在大陆需要科学上网,在香港不用科学上网)
图1:
[attach]2515090[/attach]

图2:
[attach]2515091[/attach]

图3:
[attach]2515092[/attach]

[1] Openwrt-Passwall / openwrt-passwall


GL.iNet with OpenWrt* on GL-MT5000
作者: 张无忌    時間: 2026-2-15 20:53

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

新安装 GL.iNet GL-MT5000 PassWall using method 2(修改中)
GL-MT5000 4.8.4
OpenWrt* 21.02
PassWall 26.2.14

Next
  1. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/v2ray-geoip_202602050029.1_all.ipk -O v2ray-geoip_202602050029.1_all.ipk
  2. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/v2ray-geosite_202602052221.1_all.ipk -O v2ray-geosite_202602052221.1_all.ipk
  3. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/microsocks_1.0.5-1_aarch64_cortex-a53.ipk -O microsocks_1.0.5-1_aarch64_cortex-a53.ipk
  4. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/naiveproxy_143.0.7499.109-2_aarch64_cortex-a53.ipk -O naiveproxy_143.0.7499.109-2_aarch64_cortex-a53.ipk
  5. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/dns2socks_2.1-2_aarch64_cortex-a53.ipk -O dns2socks_2.1-2_aarch64_cortex-a53.ipk
  6. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/trojan-plus_10.0.3-2_aarch64_cortex-a53.ipk -O trojan-plus_10.0.3-2_aarch64_cortex-a53.ipk
  7. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/chinadns-ng_2025.08.09-1_aarch64_cortex-a53.ipk -O chinadns-ng_2025.08.09-1_aarch64_cortex-a53.ipk
  8. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/shadowsocksr-libev-ssr-nat_2.5.6-11_aarch64_cortex-a53.ipk -O shadowsocksr-libev-ssr-nat_2.5.6-11_aarch64_cortex-a53.ipk
  9. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/shadowsocksr-libev-ssr-redir_2.5.6-11_aarch64_cortex-a53.ipk -O shadowsocksr-libev-ssr-redir_2.5.6-11_aarch64_cortex-a53.ipk
  10. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/shadowsocksr-libev-ssr-server_2.5.6-11_aarch64_cortex-a53.ipk -O shadowsocksr-libev-ssr-server_2.5.6-11_aarch64_cortex-a53.ipk
  11. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/tcping_0.3-1_aarch64_cortex-a53.ipk -O tcping_0.3-1_aarch64_cortex-a53.ipk
  12. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/shadowsocksr-libev-ssr-check_2.5.6-11_aarch64_cortex-a53.ipk -O shadowsocksr-libev-ssr-check_2.5.6-11_aarch64_cortex-a53.ipk
  13. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/shadowsocksr-libev-ssr-local_2.5.6-11_aarch64_cortex-a53.ipk -O shadowsocksr-libev-ssr-local_2.5.6-11_aarch64_cortex-a53.ipk
  14. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/shadowsocks-libev-ss-local_3.3.5-13_aarch64_cortex-a53.ipk -O shadowsocks-libev-ss-local_3.3.5-13_aarch64_cortex-a53.ipk
  15. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/shadowsocks-libev-ss-redir_3.3.5-13_aarch64_cortex-a53.ipk -O shadowsocks-libev-ss-redir_3.3.5-13_aarch64_cortex-a53.ipk
  16. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/shadowsocks-libev-ss-server_3.3.5-13_aarch64_cortex-a53.ipk -O shadowsocks-libev-ss-server_3.3.5-13_aarch64_cortex-a53.ipk
  17. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/shadowsocks-libev-ss-tunnel_3.3.5-13_aarch64_cortex-a53.ipk -O shadowsocks-libev-ss-tunnel_3.3.5-13_aarch64_cortex-a53.ipk
  18. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/simple-obfs-client_0.0.5-3_aarch64_cortex-a53.ipk -O simple-obfs-client_0.0.5-3_aarch64_cortex-a53.ipk
  19. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/simple-obfs-server_0.0.5-3_aarch64_cortex-a53.ipk -O simple-obfs-server_0.0.5-3_aarch64_cortex-a53.ipk
  20. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/tuic-client_1.0.0-1_aarch64_cortex-a53.ipk -O tuic-client_1.0.0-1_aarch64_cortex-a53.ipk
  21. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall_packages/ipt2socks_1.1.4-3_aarch64_cortex-a53.ipk -O ipt2socks_1.1.4-3_aarch64_cortex-a53.ipk
複製代碼
..


[1] Openwrt-Passwall / openwrt-passwall


GL.iNet with OpenWrt* on GL-MT5000
作者: vcyu2010    時間: 2026-2-16 07:40

本帖最後由 vcyu2010 於 2026-2-16 07:44 編輯
我唯一的广联 router GL-MT5000,它如 GL-MT6000 没有 Wi-Fi,只有 3 ports 2.5G,RAM 1G,flash 8G;一般 ...
张无忌 發表於 2026-2-2 13:04


師兄你好,謝謝你的分享。
我買了淘寶的mt3600be router.
我轉區後有返vpn的功能。
但tailscale 個到有個問題,就係每次reboot 後個tailsacale 好似睡死左咁。我有跟足你步驟去做,都有打sleep60個段嘢。我是用putty 的。已經試過重設幾次再做,都係一樣。做完所有步驟,手機係成功連弋tailscale 的,但一重新開機,tailscale 個main console 個頁subnet 和node 就會有!號。想問係咪死症冇得搞bug 嚟?

我上網搵左個方法,每次 reboot 完後都要用佢e個方法人手啟動tailscale 。
https://letitcode.dev/t/how-to-m ... -as-an-exit-node/68
整完就啟動到,但reboot完又係唔得。又係好似睡死咁。
謝謝你🙏
作者: 张无忌    時間: 2026-2-16 11:07

本帖最後由 张无忌 於 2026-2-16 04:06 編輯
師兄你好,謝謝你的分享。
我買了淘寶的mt3600be router.
我轉區後有返vpn的功能。
但tailscale 個到有個 ...
vcyu2010 發表於 2026-2-15 23:40


很高兴你买了大陆的  GL-MT3600BE,把 CN 转了 US 后就有 VPN 功能。我在大陆和香港都有 GL-MT3600BE 各一个,在香港我都用 Tailscale subnets and exit node,不知道你的路由器在香港用,还是大陆用?

你每次 reboot,如果 WAN IP 改变,那么 subnets and exit node 都有问题;如果 WAN IP 没有变的话,就只要 exit node 就停,但是指令 60 秒后,exit node 才能工作。

我的 code 是
  1. tailscale up --advertise-routes=192.168.8.0/24,192.168.55.0/24 --snat-subnet-routes=false --advertise-exit-node --reset
複製代碼
  1. ( sleep 60; tailscale set --advertise-exit-node ) &
複製代碼
。详细请参考 Tailscale subnets and exit node
作者: vcyu2010    時間: 2026-2-16 16:02

很高兴你买了大陆的  GL-MT3600BE,把 CN 转了 US 后就有 VPN 功能。我在大陆和香港都有 GL-MT3600BE 各 ...
张无忌 發表於 2026-2-16 11:07



  唔該師兄先。謝謝你的回覆,我今晚再研究下,感謝幫忙。
作者: 张无忌    時間: 2026-3-18 07:49

为什么 GL-MT5000 to OpenWrt 还没有上路?

主要没有 GL.iNet  "Realtek RTL8366ub Switch" source code。

@hauke
hauke
on Jan 31
Is the Realtek RTL8366ub Switch switch connected to this port and initialized y u-boot?
Does your GPL tar for the vendor firmware contains the source code of the Realtek switch driver?

Author
@GLiNet-Tech
GLiNet-Tech
on Feb 4
Is the Realtek RTL8366ub Switch switch connected to this port and initialized y u-boot?
Yes.The Realtek RTL8366ub switch is connected to this port and initialised during U-Boot.
Does your GPL tar for the vendor firmware contains the source code of the Realtek switch driver?
Source code for the Realtek switch chip driver is not included.

Reference:
[1] mediatek: filogic: add support for GL.iNet MT5000 (Brume3) #21728


GL.iNet with OpenWrt* on GL-MT5000
作者: robotmaster    時間: 2026-3-19 03:59

本帖最後由 robotmaster 於 2026-3-18 20:14 編輯

回覆 23# 张无忌

問題應該出在 Realtek 身上,  
有一些 全 2.5g port 的 WiFi-7 router 也是用了 Realtek Switch chip (eg. RTL8372(N))。使用它的 WiFi-7 router 可能無咁快會有 OpenWRT 支援...

今次就睇下 GL.iNET 可以幾快使 Realtek 方面配合, 釋出 RTL8366ub 的 source code。
作者: fakeman    時間: 2026-3-19 10:11

回覆  张无忌

問題應該出在 Realtek 身上,  
有一些 全 2.5g port 的 WiFi-7 router 也是用了 Realtek Sw ...
robotmaster 發表於 2026-3-19 03:59



    應該好難吧,現有嘅 RTL838x 都係靠 reverse engineering + leaked source code 先做到
作者: robotmaster    時間: 2026-3-19 20:22

回覆 25# fakeman

看似是 GL.iNET 的人員, 於 GitHub PR 上留言 表示正主動跟進 RTL8366ub 的 open source code,且看稍後會否有進展。





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