Giter VIP home page Giter VIP logo

Comments (4)

xmapst avatar xmapst commented on July 17, 2024
添加 转发到adguardhome 1053端口
nft add table inet adguardhome
nft add chain inet adguardhome prerouting "{ type nat hook prerouting priority -110; policy accept; }"
nft add rule inet adguardhome prerouting "meta nfproto { ipv4, ipv6 } udp dport 53 counter redirect to :1053 comment \"ADGUARDHOME HIJACK\""

# 清理
! nft --check list table inet adguardhome > "/dev/null" 2>&1 || nft delete table inet adguardhome

from luci-app-adguardhome.

iseku avatar iseku commented on July 17, 2024

可能是没有安装iptables-nft和iptables-mod-nat-extra,安装上就兼容fw4了

from luci-app-adguardhome.

 avatar commented on July 17, 2024

有没有办法关闭默认的ipt防火墙,只使用nft防火墙,每次一启动这个插件,防火墙一直在报使用旧版协议。

from luci-app-adguardhome.

xmapst avatar xmapst commented on July 17, 2024

有没有办法关闭默认的ipt防火墙,只使用nft防火墙,每次一启动这个插件,防火墙一直在报使用旧版协议。

将iptables规则用nft重写即可

from luci-app-adguardhome.

Related Issues (20)

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.