Update Str2.sh

This commit is contained in:
StressOzz authored and GitHub committed 2025-11-15 02:10:04 +05:00
1 parent 774d4ba5e4
commit e5ea23500f
1 file changed
+1 -7
+1 -7
View File
@@ -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=openwrt.org
--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_www_google_com.bin --dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.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"
openwrt.org
EOF
# Редактируем /etc/hosts # Редактируем /etc/hosts
echo -e "${GREEN}🔴 ${CYAN}Редактируем ${NC}/etc/hosts" echo -e "${GREEN}🔴 ${CYAN}Редактируем ${NC}/etc/hosts"
file="/etc/hosts" file="/etc/hosts"