博文

openwrt安装mosdns

图片
  来源: https://github.com/sbwml/luci-app-mosdns 🎁 MosDNS v5 is Ready! 🎉 v5 版本加入了更多的功能选项,同时它继续使用 v2ray-geodata 数据库做规则,自定义配置模式下自带 v2ray-geodata 数据库导出功能,可以让你在编写自定义配置的时候随时使用 geosite 数据库列表。 正在使用v4 版本的童鞋,可以用安装脚本无障碍升级到 v5! ⚠注意⚠ 曾经安装过其他版本的 MosDNS LuCI 或使用的固件自带了 MosDNS,安装后可能无法正常运行,你需要先将其它来源的版本卸载并清除数据残留后再装才能使用。 解决方法: 1、卸载包含  mosdns  字符的所有软件包 2、删除数据  rm -rf /etc/config/mosdns /etc/mosdns 3、重新安装 mosdns 安装方法 How to install prebuilt packages (OpenWrt 18-22) Login OpenWrt terminal (SSH) Install  curl  package opkg update opkg install curl Execute install script (Multi-architecture support) sh -c " $( curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-mosdns/v5/install.sh ) " 插件截图 普通用户的默认配置(一般来讲已经非常够用) 默认配置 规则列表 白名单: 加入的域名始终允许使用 “本地 DNS” 进行解析,且优先级最高(每个域名一行,支持域名匹配规则) 黑名单: 加入的域名将屏蔽 DNS 解析(每个域名一行,支持域名匹配规则) 灰名单: 加入的域名始终使用 “远程 DNS” 进行解析(每个域名一行,支持域名匹配规则) DDNS 域名: 加入的域名始终使用 “本地 DNS” 进行解析,并且强制 TTL 5 秒,解析结果不会进入缓存(每个域名一行,支持域名匹配规则) Hosts: 自定义 Hosts 重写,如:baidu.com 10.0.0.1(每个...

网吧开机自启动KMS激活

下发开机启动命令: cscript //nologo c:\windows\system32\slmgr.vbs -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX cscript //nologo c:\windows\system32\slmgr.vbs -skms 192.168.X.X cscript //nologo c:\windows\system32\slmgr.vbs -ato 产品密钥参考对应系统进行修改 Windows产品 https://learn.microsoft.com/zh-cn/windows-server/get-started/kms-client-activation-keys Office产品 https://learn.microsoft.com/en-us/DeployOffice/vlactivation/gvlks kms可用性检测网址 https://www.kms.pub/check.html https://www.kms.pub/index.html 可用KMS激活公网服务器地址: kms.03k.org kms.lotro.cc win.kms.pub kms.moeyuuko.com kms.cary.tech kms.loli.best kms.catqu.com kms.wxlost.com kms.moeyuuko.top xincheng213618.cn kms.sixyin.com 自建KMS服务器 kms排行榜: https://www.kms.pub/rank.html 示例下发一个bat,bat内容如下: cscript //nologo c:\windows\system32\slmgr.vbs -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX cscript //nologo c:\windows\system32\slmgr.vbs -skms win.kms.pub cscript //nologo c:\windows\system32\slmgr.vbs -ato

FRPS一键搭建搭建

 Windows运行命令:frpc.exe -c ./frpc.ini #服务器安装脚本 wget https://raw.githubusercontent.com/stilleshan/frps/master/frps_linux_install.sh && chmod +x frps_linux_install.sh && ./frps_linux_install.sh # 国内镜像 wget https://files.ioiox.com/projects/frp/frps/frps_linux_install.sh && chmod +x frps_linux_install.sh && ./frps_linux_install.sh vi /usr/local/frp/frps.ini # 修改 frps.ini 配置 [common] tls_enable = true sudo systemctl restart frps # 重启 frps 服务即可生效 #卸载 wget https://raw.githubusercontent.com/stilleshan/frps/master/frps_linux_uninstall.sh && chmod +x frps_linux_uninstall.sh && ./frps_linux_uninstall.sh # 国内镜像 wget https://files.ioiox.com/projects/frp/frps/frps_linux_uninstall.sh && chmod +x frps_linux_uninstall.sh && ./frps_linux_uninstall.sh sudo systemctl start frps # 启动服务  sudo systemctl enable frps # 开机自启 sudo systemctl status frps # 状态查询 sudo systemctl restart frps # 重启服务 sudo systemctl stop frps # 停止服务

魔改BBR

 一键自动部署到VPS,电信实测有效 https://github.com/dlxg/Linux-NetSpeed

AdGuard Home 旁路由部署

图片
 AdGuard Home 是一款全网广告拦截与反跟踪软件。在您将其安装完毕后,它将保护您所有家用设备,同时您不再需要安装任何客户端软件。随着物联网与连接设备的兴起,掌控您自己的整个网络环境变得越来越重要。 在我们的 GitHub仓库 中有更多高级信息,具体介绍看 官网 玩LEDE的基本上都知道如何部署,开启之后界面如下: DNS设置这里特别注意,如果部署有smartdns的请选择本地DNS做上游解析,拦截效果更好 设置好之后局域网使用,对拦截iOS和andriod版本的twitter官方客户端广告效果奇好,完全见不到官方推送,具体的原因请看拦截详细日志。

微软下载利器

 大佬弄得一个微软资源下载,速度贼快,不多说了 https://tb.rg-adguard.net/public.php

OpenWrt测速命令

图片
AES: openssl speed -evp aes-256-gcm ChaCha20-poly1305: openssl speed -evp chacha20-poly1305 Coremark: /etc/coremark.sh && cat /etc/bench.log 附赠Intel N4200 软路由openwrt跑分情况: AES 跑分 ChaCha20 poly1305 跑分 Coremark跑分