本帖最後由 bunch 於 2025-4-25 13:35 編輯

回復 60 #chanman60

要非CN經wireguard
普通openwrt都難做,要讀GeoIP再就住GeoIP table做policy routing,而且響GeoIP之前仲要解決牆嘅DNS poisoning拎正確嘅resolve result

你仲要用GL interface,佢入面嘅package舊到乜咁......

(搞咁多野, 直接xray真實咪算...)

via HKEPC Reader for Android

TOP

本帖最後由 张无忌 於 2025-5-14 00:47 編輯

回覆 60# chanman60

在大陆用MT3000/MT6000做router和用GL用WireGuard香港,要做到"自动分流"是不可能!!!什么"自动分流",可能大家不太清楚,就是上网的同一个设备,用时可以看YouTube和看到CCTV5。

我在上面HK-Gateway+CN-Gateway在GL.iNet GL-MT6000安装好,那么老公要看YouTube有要上HK-Gateway,老婆要看CCTV5就上CN-Gateway。

要知道大陆的外国的hostname and外国的IP都是polluted,有很多都能去外国,但是如Google指向某个a.b.c.d,它不是去Google的;去某个IP如1.1.1.1,就去了不知名地方,如果hostname和IP都是大陆的就100%正确!!!

10年前大陆我用Raspberry Pi安装Linux放在大陆的香港,用V2Ray进行交流,利用CNIP database做分流,另外用MikroTik routers大陆和香港,hostname要通过V2Ray问香港,出来的IP就问V2Ray CNIP database,那么可以"自动分流",但是要小心CNIP database要经常update,后来少用就只用MikroTik SSTP算了。

从V2Ray之后发展很多Clash,Passwall等,它们可以接个别VPS,家里servers或加入机场。在大陆人用OpenWrt安装如Clash,Passwall主要上机场比较多;有些大陆人用MikroTik RB5009 + USB-Container安装Clash,Passwall或者单用MikroTik PBR(CNIP + hostname)。

我已经利用ImmortalWrt(another OpenWrt),安装Passwall及使用了机场,可以"自动分流"了,但是还没有摸透Passwall,所以暂时不刊登,等到成熟后再刊登。(因为自己停留在很早时代的TP-Link TL-WR1043ND V1 OpenWrt)

TOP

回復 62 #张无忌

V2ray同Xray本身可以響routing config度打邊d經freedom出,邊d經其他出,無論client定server都有得set,只要入面有geoip.dat同geosite.dat就得

Passwall借sing-box嘅geodata做分流(決定邊d行sing-box,邊d行xray)
後尾sing-box唔再包埋geodata,就要user自己裝埋geoview去用
其實passwall只係方便用機場嘅人,因為機場個config.json唔一定響routing加料,有Passwall 就可以合埋眼掉比Passwall 處理

via HKEPC Reader for Android

TOP

本帖最後由 张无忌 於 2025-8-18 00:26 編輯

Wi-Fi network performance using iperf3 between OpenWrt and Windows

The GL-MT6000 was formed as official OpenWrt  24.10.1 and Windows PC connected to OpenWrt via Wi-Fi 6 5GHz. Windows Intel(R) Wi-Fi 6 AX201 160MHz, link speed (receiver/transmitter)=2041/2401 (Mbps). The performance was summarised as follows:

2.4GHz Wi-Fi 6 20MHz channel width: 150 Mbits/sec
5GHz Wi-Fi 6 80MHz channel width: 960 Mbits/sec
5GHz Wi-Fi 6 160MHz channel width: 1.63 Gbits/sec
Used for comparison, wired network speed GL-MT6000 and 2.5GHz LAN port to Windows LAN port (2.5Gbps): 2.36 Gbits/sec
Used for comparison, GL-MT6000 internally:  6.91 Gbits/sec

2.4GHz Wi-Fi 6 20MHz channel width (receiver side) due to 2.4GHz interference but GL-MT6000 had already set to 40MHz channel width ( transmitter side).

The GL-MT6000 OpenWrt installed iperf3.
  1. opkg update
  2. opkg install iperf3
複製代碼
OpenWrt ran iperf3 as a server
  1. iperf3 -s
複製代碼
Windows PC downloaded iperf3 from https://iperf.fr/, and ran iperf3 as a client
  1. iperf3 -c 192.168.1.1
複製代碼
The network performance using 5GHz Wi-Fi 6 80MHz channel width was
  1. C:\Users\User\Downloads\iperf3.18_64>iperf3 -c 192.168.1.1
  2. Connecting to host 192.168.1.1, port 5201
  3. [  5] local 192.168.1.141 port 52677 connected to 192.168.1.1 port 5201
  4. [ ID] Interval           Transfer     Bitrate
  5. [  5]   0.00-1.01   sec   107 MBytes   892 Mbits/sec
  6. [  5]   1.01-2.01   sec   116 MBytes   969 Mbits/sec
  7. [  5]   2.01-3.00   sec   113 MBytes   959 Mbits/sec
  8. [  5]   3.00-4.01   sec   117 MBytes   973 Mbits/sec
  9. [  5]   4.01-5.01   sec   117 MBytes   978 Mbits/sec
  10. [  5]   5.01-6.00   sec   111 MBytes   941 Mbits/sec
  11. [  5]   6.00-7.00   sec   115 MBytes   965 Mbits/sec
  12. [  5]   7.00-8.01   sec   117 MBytes   981 Mbits/sec
  13. [  5]   8.01-9.00   sec   116 MBytes   970 Mbits/sec
  14. [  5]   9.00-10.01  sec   117 MBytes   974 Mbits/sec
  15. - - - - - - - - - - - - - - - - - - - - - - - - -
  16. [ ID] Interval           Transfer     Bitrate
  17. [  5]   0.00-10.01  sec  1.12 GBytes   960 Mbits/sec                  sender
  18. [  5]   0.00-10.04  sec  1.12 GBytes   957 Mbits/sec                  receiver

  19. iperf Done.
複製代碼
From the presented shows the 5Ghz Wi-Fi 6 80MHz channel width performs very good with the wireless transmission speed of 960Mbps.

For 5GHz Wi-Fi 6 160MHz channel width the network speed is
  1. C:\Users\User\Downloads\iperf3.18_64>iperf3 -c 192.168.20.1
  2. Connecting to host 192.168.20.1, port 5201
  3. [  5] local 192.168.20.141 port 63108 connected to 192.168.20.1 port 5201
  4. [ ID] Interval           Transfer     Bitrate
  5. [  5]   0.00-1.01   sec   179 MBytes  1.48 Gbits/sec
  6. [  5]   1.01-2.01   sec   195 MBytes  1.63 Gbits/sec
  7. [  5]   2.01-3.01   sec   200 MBytes  1.68 Gbits/sec
  8. [  5]   3.01-4.02   sec   200 MBytes  1.68 Gbits/sec
  9. [  5]   4.02-5.00   sec   196 MBytes  1.67 Gbits/sec
  10. [  5]   5.00-6.01   sec   198 MBytes  1.66 Gbits/sec
  11. [  5]   6.01-7.01   sec   196 MBytes  1.64 Gbits/sec
  12. [  5]   7.01-8.01   sec   194 MBytes  1.62 Gbits/sec
  13. [  5]   8.01-9.01   sec   196 MBytes  1.64 Gbits/sec
  14. [  5]   9.01-10.01  sec   195 MBytes  1.63 Gbits/sec
  15. - - - - - - - - - - - - - - - - - - - - - - - - -
  16. [ ID] Interval           Transfer     Bitrate
  17. [  5]   0.00-10.01  sec  1.90 GBytes  1.63 Gbits/sec                  sender
  18. [  5]   0.00-10.02  sec  1.90 GBytes  1.63 Gbits/sec                  receiver

  19. iperf Done.
複製代碼
From the presented shows the 5Ghz Wi-Fi 6 160MHz channel width performs very good with the wireless transmission speed of 1.63Gbps.

For 2.4GHz Wi-Fi 6 20MHz channel width the network speed is
  1. C:\Users\User\Downloads\iperf3.18_64>iperf3 -c 192.168.1.1
  2. Connecting to host 192.168.1.1, port 5201
  3. [  5] local 192.168.1.141 port 51821 connected to 192.168.1.1 port 5201
  4. [ ID] Interval           Transfer     Bitrate
  5. [  5]   0.00-1.01   sec  17.8 MBytes   147 Mbits/sec
  6. [  5]   1.01-2.01   sec  19.2 MBytes   161 Mbits/sec
  7. [  5]   2.01-3.00   sec  18.0 MBytes   153 Mbits/sec
  8. [  5]   3.00-4.00   sec  17.2 MBytes   144 Mbits/sec
  9. [  5]   4.00-5.00   sec  16.6 MBytes   139 Mbits/sec
  10. [  5]   5.00-6.02   sec  16.4 MBytes   136 Mbits/sec
  11. [  5]   6.02-7.00   sec  18.6 MBytes   159 Mbits/sec
  12. [  5]   7.00-8.00   sec  17.6 MBytes   148 Mbits/sec
  13. [  5]   8.00-9.00   sec  17.4 MBytes   146 Mbits/sec
  14. [  5]   9.00-10.01  sec  19.6 MBytes   164 Mbits/sec
  15. - - - - - - - - - - - - - - - - - - - - - - - - -
  16. [ ID] Interval           Transfer     Bitrate
  17. [  5]   0.00-10.01  sec   178 MBytes   150 Mbits/sec                  sender
  18. [  5]   0.00-10.07  sec   178 MBytes   149 Mbits/sec                  receiver

  19. iperf Done.
複製代碼
Used for comparison, wired network speed GL-MT6000 and 2.5GHz LAN port to Windows LAN port (2.5Gbps):
  1. C:\Users\User\Downloads\iperf3.18_64>iperf3 -c 192.168.20.1
  2. Connecting to host 192.168.20.1, port 5201
  3. [  5] local 192.168.20.181 port 55557 connected to 192.168.20.1 port 5201
  4. [ ID] Interval           Transfer     Bitrate
  5. [  5]   0.00-1.00   sec   283 MBytes  2.36 Gbits/sec
  6. [  5]   1.00-2.00   sec   281 MBytes  2.36 Gbits/sec
  7. [  5]   2.00-3.00   sec   281 MBytes  2.36 Gbits/sec
  8. [  5]   3.00-4.00   sec   282 MBytes  2.36 Gbits/sec
  9. [  5]   4.00-5.00   sec   280 MBytes  2.35 Gbits/sec
  10. [  5]   5.00-6.01   sec   284 MBytes  2.37 Gbits/sec
  11. [  5]   6.01-7.01   sec   282 MBytes  2.37 Gbits/sec
  12. [  5]   7.01-8.01   sec   282 MBytes  2.37 Gbits/sec
  13. [  5]   8.01-9.00   sec   278 MBytes  2.37 Gbits/sec
  14. [  5]   9.00-10.01  sec   285 MBytes  2.36 Gbits/sec
  15. - - - - - - - - - - - - - - - - - - - - - - - - -
  16. [ ID] Interval           Transfer     Bitrate
  17. [  5]   0.00-10.01  sec  2.75 GBytes  2.36 Gbits/sec                  sender
  18. [  5]   0.00-10.02  sec  2.75 GBytes  2.36 Gbits/sec                  receiver

  19. iperf Done.
複製代碼
Used for comparison, GL-MT6000 runs iperf3 -s and iperf3 -c 127.0.0.1 internally:
  1. root@OpenWrt:~# iperf3 -c 127.0.0.1
  2. Connecting to host 127.0.0.1, port 5201
  3. [  5] local 127.0.0.1 port 41562 connected to 127.0.0.1 port 5201
  4. [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
  5. [  5]   0.00-1.00   sec  1.05 GBytes  9.02 Gbits/sec    0   3.00 MBytes
  6. [  5]   1.00-2.00   sec   794 MBytes  6.66 Gbits/sec    0   3.00 MBytes
  7. [  5]   2.00-3.00   sec   798 MBytes  6.70 Gbits/sec    0   3.00 MBytes
  8. [  5]   3.00-4.00   sec   798 MBytes  6.69 Gbits/sec    0   3.00 MBytes
  9. [  5]   4.00-5.00   sec   796 MBytes  6.68 Gbits/sec    0   3.00 MBytes
  10. [  5]   5.00-6.00   sec   793 MBytes  6.65 Gbits/sec    0   3.00 MBytes
  11. [  5]   6.00-7.00   sec   794 MBytes  6.66 Gbits/sec    0   3.00 MBytes
  12. [  5]   7.00-8.00   sec   790 MBytes  6.62 Gbits/sec    0   3.00 MBytes
  13. [  5]   8.00-9.00   sec   794 MBytes  6.66 Gbits/sec    0   3.00 MBytes
  14. [  5]   9.00-10.00  sec   795 MBytes  6.67 Gbits/sec    0   3.00 MBytes
  15. - - - - - - - - - - - - - - - - - - - - - - - - -
  16. [ ID] Interval           Transfer     Bitrate         Retr
  17. [  5]   0.00-10.00  sec  8.05 GBytes  6.91 Gbits/sec    0             sender
  18. [  5]   0.00-10.00  sec  8.04 GBytes  6.91 Gbits/sec                  receiver

  19. iperf Done.
複製代碼
On OpenWrt you could cancel iperf3 task. Sometimes you may kill the iperf3 process.
  1. ps | grep iperf3
  2. <PID> iperf3
  3. kill -9 <PID>
複製代碼
目录帖子GL.iNet and OpenWrt Contents

TOP

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

GL.iNet GL-MT6000 淘宝有得卖



输入"https://www.taobao.com/",在输入 "GL.iNet GL-MT6000",看看 "glinet旗舰店"。

买回来可以用 Admin Panel 或者 official OpenWrt,如果单用就刷 official OpenWrt 不用改 country code,如果 Admin Panel 要有 VPN 的话就要改 CN country code 到 US country code,这样改一次就以后不用改,改 country code 请参考 link

至于 power supply 问题,原装是 12VDC 4A two pins 大陆插,用香港的 UK power supply 都可以,在淘宝也有得卖。用电方面,一般 WAN 和一个 LAN 用电不出 10W,估计 12VDC 3A 就足够用。


目录帖子GL.iNet and OpenWrt Contents
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

Network performance using iperf3 between OpenWrt and Windows

The GL-MT6000 was formed as official O ...
张无忌 發表於 2025-4-30 08:38



   實際 MT6000 WiFi 速度仲快,行 160MHz 要上到 1.5Gbps 都冇問題的

TOP

本帖最後由 张无忌 於 2025-5-2 07:00 編輯

回覆 66# fakeman

我补做5GHz Wi-Fi 6 160MHz,速度上到1.63Gbps.

Windows Intel(R) Wi-Fi 6 AX201 160MHz, link speed (receiver/transmitter)=2402/2402 (Mbps). Used for comparison, wired network speed GL-MT6000 and 2.5GHz LAN port to Windows LAN port (2.5Gbps): 2.36 Gbits/sec.

速度觉得很快!!!

参考Wi-Fi 6 and 6E网址:
1. WiFi 6E vs WiFi 6?160MHz 頻寬?
2. 拆解 Mesh WiFi 選購上必看規格 速度竟不是最重要?

TOP

本帖最後由 张无忌 於 2025-8-18 00:27 編輯

OpenWrt WirGuard: mainland China to Hong Kong performance

https://speedtest.ofca.gov.hk/speedtest.html
Mainland China client side:GL-MT6000,4CPU,OpenWrt 24.10.1,broadband=500Mbps/50Mbps
HK server side:hAP ac3,4CPU,v7.18.2,broadband=300Mbps/300Mbps
Table 1 (maximum kept)
  1. Date        Time    Latency(ms)   Jitter(ms)   Download(Mbps)   Upload(Mbps)
  2. 2025-05-08  06:48   39            0.2          167              42
  3. 2025-05-02  07:40   43            0.4          167              43
  4. 2025-05-03  08:58   41            1.7          166              43
  5. 2025-05-10  06:10   41            0.2          167              43
  6. 2025-07-22  06:40   38            0.2          169              39
複製代碼
可以跟MikroTik routers比较,因为大陆与香港不同,所以也不同。

目录帖子GL.iNet and OpenWrt Contents

TOP

本帖最後由 张无忌 於 2025-8-16 23:35 編輯

GL.iNet U-Boot

If the router does not perform correctly due to applied incorrect firmware, you may perform the U-Boot program.

1. Clear browser cache the data "http://192.168.1.1/cgi-bin/luci/" to "http://192.168.1.1"
2. Set TCP/IPv4 IP=192.168.1.2, mask=255.255.255.0
3. Unplug AC power supply
4. Hold and press the power reset button and then plug AC power supply
5. Observe the panel light flashing for six times
6. You will see Figure 1 "FIRMWARE UPDATE"
7. Select the correct firmware and see Figure 2. Click "Update"
8. You will see Figure 3 "UPDATE COMPLETE!"
9. Reset IP and DNS
10. Browser to "http://192.168.1.1" if the firmware is OpenWrt otherwise "http://192.168.8.1"

Figure 1: FIRMWARE UPDATE


Figure 2: Update


Figure 3: UPDATE COMPLETE!


官方GL.iNet U-Boot

目录帖子GL.iNet and OpenWrt Contents
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

本帖最後由 张无忌 於 2026-6-11 21:51 編輯

Network and toolbox

在这一段会把network and toolbox一起,方便日后找寻。

Network change
在大陆使用,Mirrors of OpenWRT 软件仓库
Online UUID Generator
https://ping.chinaz.com

ufw allow 80
rm -rf FILE
kill -9 <pid>

08月18日 13:00 18:47 start 16:30
08月20日 13:11 18:45 start 16:15
09月02日 12:48 18:30 start 16:00 -13 days
09月13日 12:25 18:14 start 15:45 -11 days
09月25日 12:04 18:00 start 15:30 -12 days
10月07日 11:42 17:45 start 15:15 -12 days
10月20日 11:18 17:30 start 15:00 -13 days
11月05日 10:50 17:15 start 14:45 -16 days
12月05日 10:13 17:03 start 14:45 -30 days
12月21日 10:06 17:07 start 14:45 +16 days 冬至
01月02日 10:10 17:15 start 15:00 +12 days
01月19日 10:25 17:30 start 15:15 +17 days
02月06日 10:49 17:45 start 15:30 +18 days
02月24日 11:20 18:00 start 15:45 +18 days
03月16日 11:59 18:15 start 16:00 +21 days
04月07日 12:43 18:30 start 16:15 +23 days
04月30日 13:22 18:45 start 16:30 +23 days

06月21日 14:06 15:30 start 16:30 夏至

DOS
tracert

11月17日 17:33 7.15G
05月20日 21:24 8.58G

6月12日 05:50 15410

luci luci-app-statistics collectd-mod-thermal htop luci-app-travelmate adguardhome luci-app-passwall luci-app-homeproxy


目录帖子GL.iNet and OpenWrt Contents

TOP