安装 openwrt 中文包 opkg update && opkg install luci-i18n-package-manager-zh-cn luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn
OpenWrt-nikki
一键多代理脚本:sspt="" vlpt="" vmpt="" hypt="" tupt="" xhpt="" anpt="" argo="y" agn="" agk="" bash <(curl -Ls https://raw.githubusercontent.com/yonggekkk/argosb/main/argosb.sh)
一键Warp脚本:bash <(wget qO https://raw.githubusercontent.com/yonggekkk/warp-yg/main/CFwarp.sh)
恢复出厂
firstboot
reboot
opkg install nikki
opkg install luci-app-nikki
opkg install luci-i18n-nikki-zh-cn
Nikki 依赖包
opkg update
opkg install ca-bundle
opkg install curl
opkg install yq
opkg install firewall4
opkg install ip-full
opkg install kmod-inet-diag
opkg install kmod-nft-socket
opkg install kmod-nft-tproxy
opkg install kmod-tun
ca-bundle curl yq ip-full kmod-inet-diag kmod-nft-socket kmod-nft-tproxy kmod-tun
opkg install /root/*.ipk
opkg install /tmp/*.ipk
nikki面板
/etc/nikki/run/ui/zashboard/
安装Samba 服务端
opkg install samba4-server luci-app-samba4 luci-i18n-samba4-zh-cn
防火墙重启
/etc/init.d/firewall restart
c8:93:46:15:79:74 空调
18:bc:5a:1a:31:7f 天猫精灵
64:57:25:1f:c8:0e 电视
5c:cf:7f:f4:46:6e s20c插座
c8:93:46:9b:a5:69 空调
list文件转二进制文件mrs,使用MobaXterm运行于openwrt或Docker:mihomo convert-ruleset domain text 115.list 115.mrs
list文件内容格式为:
+.19881008.xyz
+.cloudflare.com
openwrt x86-64-generic-squashfs-combined-efi.img.gz 安装前扩展空间-查询依赖
which gzip
which dd
which parted
解压镜像
gzip -kd immortalwrt-24.10.1-x86-64-generic-squashfs-combined-efi.img.gz
增加512
dd if=/dev/zero bs=1M count=512 >> /tmp/1.img
#使用分区工具操作镜像
parted /tmp/1.img
#查看分区情况
print
选择ok
选择Fix
#调整分区大小(将第 2个分区扩展至镜像文件的 100%)
resizepart 2 100%
#查看是否扩展成功
print
#退出分区工具
quit
打包压缩
gzip /tmp/1.img
1panel 面板安装:
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh
80、8080、8880、2052、2082、2086,2095
443、2053、2083、2087、2096、8443
优选
13.230.34.30
104.16.45.99
172.64.145.38
104.21.38.221
172.67.40.92
104.26.1.217
104.16.68.38
66.235.200.216
104.18.16.92
104.19.250.170
185.146.173.145
104.22.10.174
172.67.69.4
104.18.13.28
172.67.152.176
172.64.88.212
198.41.208.112
162.159.251.225
172.64.93.178
162.159.209.239
190.93.246.117
104.16.69.182
104.17.95.111
104.24.224.172
188.114.99.123
190.93.244.171
103.21.244.61
104.16.54.211
104.24.62.181
172.64.41.232
j9609896a3
j796098963
aDm8H%MdA
sysctl -w net.ipv4.ip_default_ttl=32 # 临时生效
echo "net.ipv4.ip_default_ttl=32" >> /etc/sysctl.conf # 永久生效
#nftables fw4
opkg update
opkg install bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
opkg install /tmp/openclash.ipk
223.5.5.5
119.29.29.29
8.8.8.8
120.196.165.24
211.136.192.6
2409:8057:2000:6::8
2409:8057:2000:2::8
openwrt CPU状态
wget --no-check-certificate -O /tmp/luci-app-cpu-status_0.6.1-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-cpu-status_0.6.1-r1_all.ipk
opkg install /tmp/luci-app-cpu-status_0.6.1-r1_all.ipk
rm /tmp/luci-app-cpu-status_0.6.1-r1_all.ipk
/etc/init.d/rpcd reload