stupidloud / nanopi-openwrt

Openwrt for Nanopi R1S R2S R4S R5S 香橙派 R1 Plus 固件编译 纯净版与大杂烩
5.47k stars 2.69k forks source link

minimal固件中的passwall不支持DOH #323

Closed EsuRt closed 3 years ago

EsuRt commented 3 years ago

minimal固件中的passwall无法设置DOH,提示“自定义DNS 不是有效IP格式,请重新输入!”,但看了下xiaorouji/openwrt-passwall的配置,应该已经支持DOH了,请问下应该怎样设置?

avsba001 commented 3 years ago

minimal里面的pw是改openclash吧,想用doh可以用smartdns曲线救国

EsuRt commented 3 years ago

add_passwall.sh 文件中用的就是xiaorouji/openwrt-passwall。

echo -e '\nsrc-git lienol https://github.com/xiaorouji/openwrt-passwall' >> feeds.conf.default
./scripts/feeds update lienol
rm -rf feeds/lienol/lienol/ipt2socks
rm -rf feeds/lienol/lienol/shadowsocksr-libev
rm -rf feeds/lienol/lienol/pdnsd-alt
rm -rf feeds/lienol/lienol/luci-app-verysync
rm -rf feeds/lienol/package/verysync
#rm -rf feeds/lienol/package/chinadns-ng
rm -rf package/lean/openwrt-chinadns-ng
rm -rf package/lean/luci-app-kodexplorer
rm -rf package/lean/luci-app-pppoe-relay
rm -rf package/lean/luci-app-pptp-server
rm -rf package/lean/luci-app-v2ray-server
./scripts/feeds install -a -p lienol

https://github.com/klever1988/nanopi-openwrt/blob/b2d851c85af763c8405e324b0e374688ba9b2d4f/add_passwall.sh