openwrt-passwall Documentation

Lua repository by @Openwrt-Passwall. Desktop release binaries & installers with 10.0k stars.

9,969 stars Lua Lua 1 file · ~376 tokens
RAW Doc

Technical Documentation: Openwrt-Passwall/openwrt-passwall

ℹ️ Provenance: Multi-Tier Ingestion · CodeWiki Reference

Overview (`README.md`)

:mega:公告

自 2026 年 6 月 1 日起,Xray Core 内部定时器已自动弃用 allowInsecure(跳过证书验证),并要求自签证书必须配置 pinnedPeerCertSha256(pcs 参数)。

若机场使用自签证书且未提供 pcs 参数,节点将无法正常连接。

解决方法:

  • 向机场获取 pinnedPeerCertSha256(pcs 参数);
  • 或切换至 Sing-box Core。

📌如何能编译到最新代码?

方法1:

执行 ./scripts/feeds update -a 操作前,在 feeds.conf.default 顶部插入如下代码:

text
src-git passwall_packages https://github.com/Openwrt-Passwall/openwrt-passwall-packages.git;main
src-git passwall_luci https://github.com/Openwrt-Passwall/openwrt-passwall.git;main

方法2:

在 ./scripts/feeds install -a 操作完成后,执行以下命令:

shell
# 移除 openwrt feeds 自带的核心库
rm -rf feeds/packages/net/{xray-core,v2ray-geodata,sing-box,chinadns-ng,dns2socks,hysteria,ipt2socks,microsocks,naiveproxy,shadowsocks-rust,shadowsocksr-libev,simple-obfs,tcping,v2ray-plugin,xray-plugin,geoview,shadow-tls}
git clone https://github.com/Openwrt-Passwall/openwrt-passwall-packages package/passwall-packages

# 移除 openwrt feeds 过时的luci版本
rm -rf feeds/luci/applications/luci-app-passwall
git clone https://github.com/Openwrt-Passwall/openwrt-passwall package/passwall-luci

--- METRICS ---