Git Product home page Git Product logo

openwrt-plus's Introduction

OpenWrt Plus 23.05

固件为主路由:mosdns sing-box fakeip 集成使用

食用方法:

正常连网联网之后:

mosdns:请选择自定义规则,默认端口53,请将 网络-dhcp/dns里的 端口修改为任意 并将hosts和解析文件里的忽略解析文件勾选

请将自定义规则里的forward_remote的地址修改为你的 sing-box入站地址 默认应该主路由:6666,之后进行下面的脚本执行

添加白名单即是直连

添加黑名单即是发送远程sing-box代理

wget https://file.herozmy.com/File/router/openwrt/op.sh && bash op.sh

根据提示执行脚本

脚本正常执行无报错,手动将命令写入:系统-启动项-本地启动脚本 exit 0 上方

nohup  /usr/bin/sing-box run -c /etc/sing-box/config.json > /tmp/sbstart.log 2>&1 &
nft -f /etc/nftables.conf

完成以后,重启路由器

NanoPi R4S/R5S/R5C & X86_64 固件下载:

https://github.com/pmkol/openwrt-plus/releases

【首次登陆】
地址:10.0.0.1(默认)
用户:root
密码:空

【分区挂载】
系统/磁盘管理 将系统盘剩余空间创建新分区
系统/挂载点   启用新分区并挂载至/opt目录

固件编译脚本存档来自:https://init2.cooluc.com

  • 优化系统内核
    • Full cone NAT
    • TCP BBRv3
    • TCP Brutal
    • LLVM-BPF
    • Shortcut-FE
  • 使用 OpenWrt+ImmortalWrt 软件源,支持更多插件的在线安装与升级
  • 最小化集成常用插件,修复多处上游插件BUG

自定义预装插件建议fork上游原项目,以免因本项目未及时同步导致编译失败


更改 LAN IP 地址

自定义默认 LAN IP 地址
只需在构建固件前执行以下命令即可覆盖默认 LAN 地址(默认:10.0.0.1)
export LAN=10.0.0.1

使用 Github Actions 构建

一、Fork 本仓库到自己 GitHub 存储库

二、构建固件

  • 在存储库名称下,单击(Actions Actions)。

  • 在左侧边栏中,单击要运行的工作流的名称:Build releases

  • 在工作流运行的列表上方,单击“Run workflow”按钮,选择要构建的设备固件并运行工作流。

    image

openwrt-plus's People

Contributors

sbwml avatar 52shell avatar pmkol avatar actions-user avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.