mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2026-10-19 08:53:57 +00:00
Fix zapret awg, delete packet https-dns-proxy
This commit is contained in:
parent
136bd7803b
commit
97f18fda43
2 changed files with 9 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
# 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_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
|
||||
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"
|
||||
uci set dhcp.@dnsmasq[0].confdir='/tmp/dnsmasq.d'
|
||||
uci commit dhcp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue