daemon.json  docker.txt  sing-box  Script

安装 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

jffs2reset -y && reboot
rm -rf /overlay/upper/*

104.16.144.1 - 159/24
104.16.240.0/24 - 255/24
104.17.96.0/24 - 127/24

104.17.144.0/24 - 191/24
104.17.208.0/24 - 223/24
104.18.33.0/24
104.18.35.0/24
104.18.39.0/24 - 40/24
104.18.42.0/24 - 47/24
104.18.80.0/24 - 95/24
104.18.144.0/24 -191/24
104.18.224.0/24 239/24

104.19.32.0/24 - 63/24

bpb.yousef.isegaro.com

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

opkg install ca-bundle
opkg install curl
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
opkg install sing-box (1.12)



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

snipaste3.speedip.eu.org
snipaste4.speedip.eu.org

browser.tabs.loadBookmarksInTabs true
services.sync.prefs.sync-seen.browser.tabs.loadInBackground true
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.tabs.loadInBackground true

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