PassWall on OpenWrt

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

PassWall on OpenWrt 是我第一次在大陆用的《科学上网》翻墙工具,以前都是用单向的翻墙工具如PPTP,L2TP,L2TP/IPsec,IPsec(IKEv1),SSTP,OpenVPN,IKEv2,V2Ray,WireGuard。Shadowsocks(我没有用过)比较重要,主要 clowwindy 由主持(2012-2015),之后 V2Ray 出现(2015-2019),再之后就有不同的《科学上网》翻墙工具。

你有一台 OpenWrt router(GL-MT6000,GL-MT5000,GL-MT3600BE,GL-MT3000,GL-BE6500,GL-BE3600,Cudy TR3000 256MB v1,其他适合的 routers),然后安装 PassWall。

香港,大陆没有公网 IP:PassWall client only
香港,大陆有公网 IP:PassWall client and server


References:
[1] openwrt-passwall
[2] Releases

TOP

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

我在大陆怎样联系香港?

1、香港手机有漫游大陆,什么事直接打电话到香港,看WhatsApp,YouTube等等。
2、到大陆家里,可以都用手机上香港的网,但是比较贵,如果有宽频和电脑就可以上大陆网,其他国家网站(被允许)也可以上。

iPhone 安装 Shadowrocket and WireGuard clients
大陆电脑安装 v2rayN clients
大陆路由器安装 PassWall clients (and servers 如果有 public IP)


目录 PassWall on OpenWrt

TOP

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

PassWall on GL.iNet(悟空)
PassWall 26.1.13
GL-MT6000(21.02)4.8.3
GL-MT5000(21.02)4.8.5 ok
GL-MT3600BE(21.02)4.8.5 ok
GL-MT3000(21.02)4.8.1
GL-BE6500(23.05)4.8.7 sub=1
GL-BE3600(23.05)4.8.3
GL-MT6000(24.10)4.8.3-op24

MediaTek(21.02)= GL-MT6000,GL-MT5000,GL-MT3600BE,GL-MT3000

GL-MT6000(24.10)大陆有repository server代用,
  1. sed -i 's_https\?://downloads.openwrt.org_https://mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
複製代碼
..

GL-BE6500,GL-BE3600(23.05) Qualcomm 安装
/etc/opkg.conf add
  1. arch all 1
  2. arch noarch 1
  3. arch aarch64_cortex-a53 5
  4. arch aarch64_cortex-a53_neon-vfpv4 10
複製代碼
..

MediaTek(21.02)
Step A1: 大陆安装的 /etc/opkg/distfeeds.conf,fw.gl-inet.com -> 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
複製代碼
..

MediaTek(21.02)
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
複製代碼
..

MediaTek(21.02)
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 *.ipk /tmp
  1. mv *.ipk /tmp
複製代碼
..

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

在这里不需要科学上网。

##################################
PassWall2 GL-TM3000

Download three files
  1. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall2/luci-app-passwall2_26.3.1_all.ipk/download -O luci-app-passwall2_26.3.1_all.ipk
  2. wget https://sourceforge.net/projects/openwrt-passwall-build/files/releases/packages-21.02/aarch64_cortex-a53/passwall2/luci-i18n-passwall2-zh-cn_26.3.1_all.ipk/download -O luci-i18n-passwall2-zh-cn_26.3.1_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
複製代碼
..

App updates are not possible.

Reference:
[1] https://github.com/Openwrt-Passwall/openwrt-passwall


目录 PassWall on OpenWrt

TOP

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

2023最新软路由iStoreOS系统科学上网插件passwall进阶设置,passwall分流设置|负载均衡|规则设置|访问控制,进一步了解passwall进阶玩法 https://www.youtube.com/watch?v=BgmrMgdCclI



目录 PassWall on OpenWrt

TOP

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

PassWall 测试机场 connect 境况

平时安装PassWall这个功能是"Close"。
OpenWrt >>PassWall >> Node List

会出现

图1:Automatic detection delay=Close


我们想
Automatic detection delay=TCP Ping
然后 Save & Apply

图2:Automatic detection delay=TCP Ping




目录 PassWall on OpenWrt
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

張無忌兄真是 活人無數,

隨著越來越多港燦返回大陸長居

就越來越需要: 張無忌的服務, Keep On Good Work 雖然我看不明白

目前我還是使用沒有保安能力的  PPTP VPN 能 Work 就 OK 啦, 我不需要 Security 的。 能爬出去就行啦。

TOP

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

PassWall server

平时我在大陆都是 PassWall (client)加机场,这样的家里便可以《科学上网》,但是很少接触 PassWall server(家里要有公网 IP),今天看了 YouTube 说起在家里 PassWall 安装 server [1]。

在大陆家里安装 OpenWrt + PassWall + 机场 + 家里有公网 IP,在 PassWall server 按下面安装,在香港朋友能连接大陆的  PassWall server 后能看见 CCTV5 和 WhatsApp。

图1:Server side,Add


图2:主要 Enable,Type,Listen Port,Password,Encrypt Method,Save & Apply


图3:Enable,Save & Apply


图4:Server ready


图5:iPhone Shadowrocket,点击 "+"


图6:Server IP address,Port,Password,Method,点击 Save


图7:关掉 Wi-Fi,用 5G


图8:YouTube



Reference:
[1] 【全网首发】低成本搭建海外回国服务器,超高扩展性、可玩性,一个价值几万的解决方案!轻松实现千兆带宽线路,同步家庭网络,在海外不仅可以访问海外资源,同时可以高速访问国内资源,绝对值得了解#一瓶奶油


目录 PassWall on OpenWrt
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

謝謝詳細
openwrt那個版本安裝passwall比較好?

TOP

回覆 9# t101

如果你能用 vanilla OpenWrt,可以用三种方式安装——kiddin9,ImmortalWrt,Manual [1]。


Reference:
[1] GL.iNet GL-MT6000/GL-MT3000(Stable/Native OpenWrt 24/Vanilla OpenWrt)可以安装PassWall

TOP