灵感源自dnscrypt-proxy-openwrt项目,个人作些许修改。
当前版本:1.6.1
依赖软件包:libsodium 1.0.2
编译步骤:
# 我的openwrt 内核树是15.05,其他分支不一定能patch成功
cd ~/openwrt
git clone https://github.com/lixingcong/dnscrypt-proxy-openwrt
先patch
# 如果patch失败了,可以自己打开patch自己手动改文件
patch package/feeds/packages/dnscrypt-proxy/Makefile < dnscrypt-proxy-openwrt/002-dnscrypt.patch
patch package/feeds/packages/libsodium/Makefile < dnscrypt-proxy-openwrt/001-libsodium.patch
配置并编译
make menuconfig
# 选择Network->IP Addresses and Names->dnscrypt-proxy
make package/dnscrypt-proxy/compile V=99