Update Str3.sh
This commit is contained in:
1 parent
e5ea23500f
commit
0c74ae33f2
1 file changed
+1
-7
@@ -18,7 +18,7 @@ sed -i "/^[[:space:]]*option NFQWS_OPT '/,\$d" /etc/config/zapret
|
|||||||
cat <<EOF >> /etc/config/zapret
|
cat <<EOF >> /etc/config/zapret
|
||||||
option NFQWS_OPT '
|
option NFQWS_OPT '
|
||||||
--filter-tcp=443
|
--filter-tcp=443
|
||||||
--hostlist-exclude=/opt/zapret/ipset/zapret-hosts-user-exclude.txt
|
--hostlist-exclude-domains=gstatic.com
|
||||||
--dpi-desync=fake,fakeddisorder
|
--dpi-desync=fake,fakeddisorder
|
||||||
--dpi-desync-split-pos=10,midsld
|
--dpi-desync-split-pos=10,midsld
|
||||||
--dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_t2_ru.bin
|
--dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_t2_ru.bin
|
||||||
@@ -38,12 +38,6 @@ cat <<EOF >> /etc/config/zapret
|
|||||||
#${version}
|
#${version}
|
||||||
'
|
'
|
||||||
EOF
|
EOF
|
||||||
# Добавляем исключение
|
|
||||||
file="/opt/zapret/ipset/zapret-hosts-user-exclude.txt"
|
|
||||||
rm -f "$file"
|
|
||||||
cat <<'EOF' > "$file"
|
|
||||||
gstatic.com
|
|
||||||
EOF
|
|
||||||
# копируем tls_clienthello_t2_ru.bin
|
# копируем tls_clienthello_t2_ru.bin
|
||||||
echo -e "${GREEN}🔴 ${CYAN}Копируем ${NC}tls_clienthello_t2_ru.bin${CYAN} на устройство${NC}"
|
echo -e "${GREEN}🔴 ${CYAN}Копируем ${NC}tls_clienthello_t2_ru.bin${CYAN} на устройство${NC}"
|
||||||
curl -sLo /opt/zapret/files/fake/tls_clienthello_t2_ru.bin https://github.com/StressOzz/Zapret-Manager/raw/refs/heads/main/tls_clienthello_t2_ru.bin
|
curl -sLo /opt/zapret/files/fake/tls_clienthello_t2_ru.bin https://github.com/StressOzz/Zapret-Manager/raw/refs/heads/main/tls_clienthello_t2_ru.bin
|
||||||
|
|||||||
Reference in new issue
Block a user