Giter Club home page Giter Club logo

openwrt-dnsforwarder's Introduction

openwrt-dnsforwarder

为OpenWRT路由器编译运行dnsforwarder编写的Makefile和luci界面

简介

本软件包为OpenWRT路由器使用dnsforwarder配置企业级DNS服务器并与dnsmasq配合进行智能黑名单解析的工具

1、支持在Web界面编辑dnsforwarder配置文件

2、支持在Web界面编辑GFWList名单和自定义的黑白名单

3、可以控制iptables对客户端发来的DNS请求进行劫持

4、与DNSMasq配合进行给予黑白名单的DNS请求转发

5、与DNSMasq配合将黑白名单中的域名解析完成后添加到ipset,为SSR路由提供依据

6、支持一键升级GFWList黑名单

依赖

显式依赖 wget,用于加载网络上的host文件

配置

配置文件地址 "/etc/dnsforwarer/dnsfrowarder.conf"

GFWList地址 "/etc/dnsforwarer/base-gfwlist.txt"

用户自定义黑名单 “/etc/dnsforwarer/userlist”

用户自定义白名单 “etc/dnsforwarer/whitelist”

编译

从 OpenWrt 的 SDK 编译

# 解压下载好的 SDK
tar xjf OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2
cd OpenWrt-SDK-ar71xx-*
# Clone 项目
git clone https://github.com/AlexZhuo/openwrt-dnsforwarder/ package/dnsforwarder
# 编译 po2lmo (如果有po2lmo可跳过)
pushd package/dnsforwarder/tools/po2lmo
make && sudo make install
popd
# 选择要编译的包 Network -> dnsforwarder
make menuconfig
# 开始编译
make package/dnsforwarder/compile V=99

截图

demo

demo

demo

openwrt-dnsforwarder's People

Contributors

alexzhuo avatar zwh8800 avatar

Watchers

James Cloos 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.