Replace https-dns-proxy with dnscrypt-proxy2

Checking alternative way for DoH and DoL.
This commit is contained in:
Daniel Pawlik
2024-06-20 08:46:44 +02:00
parent 4990a01594
commit fd66c40bdf
2 changed files with 15 additions and 8 deletions

View File

@@ -1,5 +1,3 @@
# LuCI
CONFIG_PACKAGE_cgi-io=y
CONFIG_PACKAGE_libiwinfo-lua=y
@@ -54,11 +52,13 @@ CONFIG_PACKAGE_wireguard-tools=y
CONFIG_PACKAGE_luci-proto-wireguard=y
CONFIG_PACKAGE_qrencode=y
# https dns
CONFIG_PACKAGE_https-dns-proxy=y
CONFIG_PACKAGE_luci-app-https-dns-proxy=y
CONFIG_PACKAGE_libnghttp3=y
CONFIG_PACKAGE_libngtcp2=y
### https dns - DoH DoL
# CONFIG_PACKAGE_https-dns-proxy is not set
# CONFIG_PACKAGE_luci-app-https-dns-proxy is not set
# CONFIG_PACKAGE_libnghttp3 is not set
# CONFIG_PACKAGE_libngtcp2 is not set
CONFIG_PACKAGE_dnscrypt-proxy2=y
# collecd
CONFIG_PACKAGE_luci-app-statistics=y

View File

@@ -11,6 +11,8 @@ FULL_WPAD="${FULL_WPAD:-'true'}"
INSTALL_BRIDGER=${INSTALL_BRIDGER:-'true'}
INSTALL_DAWN=${INSTALL_DAWN:-'false'}
INSTALL_USTEER=${INSTALL_USTEER:-'true'}
INSTALL_HTTPS_DNS_PROXY=${INSTALL_HTTPS_DNS_PROXY:-'false'}
INSTALL_DNSCRYPT_PROXY2=${INSTALL_DNSCRYPT_PROXY2:-'true'}
CRYPTO_LIB=${CRYPTO_LIB:-''} # wolfssl or openssl
ADDITIONAL_DRIVERS=${ADDITIONAL_DRIVERS:-'kmod-mt7921e kmod-mt7921-common kmod-mt7921-firmware'}
@@ -65,10 +67,15 @@ fi
# additional packages
if [[ "$DEVICE" =~ Main|main ]]; then
PACKAGES="$PACKAGES luci-proto-wireguard kmod-wireguard wireguard-tools qrencode"
PACKAGES="$PACKAGES https-dns-proxy luci-app-https-dns-proxy luci-i18n-https-dns-proxy-pl libcurl4 libnghttp3 libngtcp2"
PACKAGES="$PACKAGES luci-app-vnstat2"
PACKAGES="$PACKAGES luci-app-sqm"
PACKAGES="$PACKAGES ddns-scripts luci-app-ddns bind-host"
if [[ "$INSTALL_HTTPS_DNS_PROXY" =~ True|true ]]; then
PACKAGES="$PACKAGES https-dns-proxy luci-app-https-dns-proxy luci-i18n-https-dns-proxy-pl libcurl4 libnghttp3 libngtcp2"
fi
if [[ "$INSTALL_DNSCRYPT_PROXY2" =~ True|true ]]; then
PACKAGES="$PACKAGES dnscrypt-proxy2"
fi
fi
if ! [[ "$DEVICE" =~ Main|main ]] && [[ "$INSTALL_BRIDGER" =~ True|true ]]; then