WG2600HP3到手。刷机的教程已经在前面的帖子中记录,不过需要纠正,Extroot 扩容无法实现。Flash只有32MB,安装完系统,只剩下大约16MB可用。安装并配置代理应用相当困难。下面记录整个过程。OpenWrt版本:24.10。

1、刷机后,通过192.18.1.1打开管理界面,初始状态没有密码,需要手动设置,设置一个复杂密码。

2、从旧的OpenWrt配置文件恢复MAC地址与IP绑定关系。

3、到无线网设置中,开启无线网卡,设置无线网名称和密码。5G和2.4G频段使用相同的名字。

4、到系统设置中,导出一个完整备份。

5、为OpenWrt安装Passwall2插件

1)以下软件包可以从源安装:

opkg install libc coreutils coreutils-base64 coreutils-nohup curl ip-full libuci-lua lua luci-compat luci-lib-jsonc resolveip unzip luci-lua-runtime

2)下面的软件包需要从网上下载,保证平台适用性

tcping_0.3-r1_arm_cortex-a15_neon-vfpv4.ipk
geoview_0.1.10-r1_arm_cortex-a15_neon-vfpv4.ipk

下载后,从客户端上传到/tmp

scp -O tcping_0.3-r1_arm_cortex-a15_neon-vfpv4.ipk root@192.168.2.1:/tmp/
scp -O geoview_0.1.10-r1_arm_cortex-a15_neon-vfpv4.ipk root@192.168.2.1:/tmp/

这个目录实际是内存,内置的存储容量太小。上传后在Openwrt手动安装

cd /tmp
opkg install ./tcping_0.3-r1_arm_cortex-a15_neon-vfpv4.ipk ./geoview_0.1.10-r1_arm_cortex-a15_neon-vfpv4.ipk

3)地理位置信息

v2ray-geosite可以通过源安装,不过不需要手动安装。
v2ray-geoip不可以通过源安装,不过也不需要手动安装。
这两个软件包可以在管理界面更新。

4)Passwall2管理界面

luci-24.10_luci-app-passwall2_25.8.9-r1_all.ipk 需要手动下载。
luci-24.10_luci-i18n-passwall2-zh-cn_25.220.73539.ea9c880_all.ipk 是界面中文翻译,不安装不影响功能,根据个人需求决定。
同样地,上传到/tmp,安装
cd /tmp
opkg install –nodeps luci-24.10_luci-app-passwall2_25.8.9-r1_all.ipk
opkg install –nodeps luci-24.10_luci-i18n-passwall2-zh-cn_25.220.73539.ea9c880_all.ipk

下载地址
https://github.com/xiaorouji/openwrt-passwall2/releases/download/25.8.9-1/luci-24.10_luci-app-passwall2_25.8.9-r1_all.ipk
https://github.com/xiaorouji/openwrt-passwall2/releases/download/25.8.9-1/luci-24.10_luci-i18n-passwall2-zh-cn_25.220.73539.ea9c880_all.ipk

Passwall2的依赖如下
opkg depends luci-app-passwall2
luci-app-passwall2 depends on:
libc
coreutils
coreutils-base64
coreutils-nohup
curl
ip-full
libuci-lua
lua
luci-compat
luci-lib-jsonc
resolveip
tcping
xray-core
geoview
v2ray-geoip
v2ray-geosite
unzip
luci-lua-runtime

5)替换系统已安装的精简版dnsmasq
opkg download dnsmasq-full
opkg remove dnsmasq && opkg install /tmp/dnsmasq-full_*.ipk
此处需要注意配置文件兼容性。

6)完成上述步骤,重启路由器。重启后会增加一个选项,Services,下面会有Passwall2菜单。

7)核心应用体积较大,无法安装在内置存储。放在内存中运行。

cd /tmp
wget https://github.com/XTLS/Xray-core/releases/latest/download/Xray-linux-arm32-v7a.zip -O Xray-linux-arm32-v7a.zip
unzip Xray-linux-arm32-v7a.zip
chmod +x xray

到设置中,将xray-core运行路径改为
/tmp/xray
保存即可。

6、至此Passwall2安装成功。下面是设置步骤

1)在node_list下添加两个以上节点。目的是为了分流。当然,一个节点也完全可以使用,根据个人需要。

2)在原来的两个节点之外,添加一个新的节点。

Node Remarks:自定义
Type:Xray
Protocol:Shunt
Preproxy:无需勾选
规则:根据需求设置
Domain Strategy:IPOnDemand
Domain matcher:hybrid

回到Basic Settings,Main页面。

Main switch:勾选
Node:选择刚才设置的自定义节点

其他选项保持默认即可。

3)修改Rule Manage下面的Shunt Rule以适用于Xray。

删除所有类似于
rule-set:remote:https://raw.githubusercontent.com/lyc8503/sing-box-rules/rule-set-geosite/geosite-geolocation-!cn.srs
的设置。这是sing-box 专用的,Xray无法识别。

4)Rule Manage下面的GeoIP/Geosite data进行更新,点击Manually update按钮即可。

7、观察日志是否提醒缺失软件包,缺失的话手动安装。比如

kmod-nft-socket
kmod-nft-tproxy

没有异常,通过
https://ip.skk.moe/
检查不同地区访问的IP地址。

8、失败的尝试

1)OpenClash,安装后界面不显示。

2)Passwall1,花费太多时间,没有坚持继续设置。

3)ShadowsocksR Plus+,无法启动,提示不兼容。

4)V2rayA,无法启动服务。

5)刷旧版本镜像,并测试安装软件包,尝试了以下版本

openwrt-23.05.5-ipq806x-generic-nec_wg2600hp3-squashfs-sysupgrade.bin
openwrt-22.03.7-ipq806x-generic-nec_wg2600hp3-squashfs-sysupgrade.bin
openwrt-21.02.7-ipq806x-generic-nec_wg2600hp3-squashfs-sysupgrade.bin

共花费大约10个小时。

Leave a Reply

Your email address will not be published. Required fields are marked *