mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-06 03:26:43 +03:00
Fix zapret awg, delete packet https-dns-proxy
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# NOTE: @ih requires nft 1.0.1+ and updated kernel version. it's confirmed to work on 5.15 (openwrt 23) and not work on 5.10 (openwrt 22)
|
# NOTE: @ih requires nft 1.0.1+ and updated kernel version. it's confirmed to work on 5.15 (openwrt 23) and not work on 5.10 (openwrt 22)
|
||||||
|
|
||||||
# can override in config :
|
# can override in config :
|
||||||
NFQWS_OPT_DESYNC_WG="${NFQWS_OPT_DESYNC_WG:---dpi-desync=fake --dpi-desync-repeats=2}"
|
NFQWS_OPT_DESYNC_WG="${NFQWS_OPT_DESYNC_WG:---dpi-desync=fake --dpi-desync-fake-wireguard=/opt/zapret/files/fake/quic_initial_vk_com.bin --dpi-desync-repeats=5}"
|
||||||
|
|
||||||
alloc_dnum DNUM_WG4ALL
|
alloc_dnum DNUM_WG4ALL
|
||||||
alloc_qnum QNUM_WG4ALL
|
alloc_qnum QNUM_WG4ALL
|
||||||
|
|||||||
@@ -676,6 +676,14 @@ else
|
|||||||
[ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp
|
[ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#проверяем установлени ли пакет https-dns-proxy
|
||||||
|
if opkg list-installed | grep -q https-dns-proxy; then
|
||||||
|
echo "Packet https-dns-proxy not installed..."
|
||||||
|
else
|
||||||
|
echo "Delete packet https-dns-proxy..."
|
||||||
|
opkg remove https-dns-proxy
|
||||||
|
fi
|
||||||
|
|
||||||
printf "Setting confdir dnsmasq\n"
|
printf "Setting confdir dnsmasq\n"
|
||||||
uci set dhcp.@dnsmasq[0].confdir='/tmp/dnsmasq.d'
|
uci set dhcp.@dnsmasq[0].confdir='/tmp/dnsmasq.d'
|
||||||
uci commit dhcp
|
uci commit dhcp
|
||||||
|
|||||||
Reference in New Issue
Block a user