mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-09 21:16:57 +03:00
config: Renew default config (v69)
Source: https://github.com/bol-van/zapret-win-bundle/blob/master/zapret-winws/preset_russia.cmd
This commit is contained in:
@@ -93,7 +93,7 @@ NFQWS_PORTS_UDP_KEEPALIVE=0
|
|||||||
# use <HOSTLIST> and <HOSTLIST_NOAUTO> placeholders to engage standard hostlists and autohostlist in ipset dir
|
# use <HOSTLIST> and <HOSTLIST_NOAUTO> placeholders to engage standard hostlists and autohostlist in ipset dir
|
||||||
# hostlist markers are replaced to empty string if MODE_FILTER does not satisfy
|
# hostlist markers are replaced to empty string if MODE_FILTER does not satisfy
|
||||||
# <HOSTLIST_NOAUTO> appends ipset/zapret-hosts-auto.txt as normal list
|
# <HOSTLIST_NOAUTO> appends ipset/zapret-hosts-auto.txt as normal list
|
||||||
NFQWS_OPT="--filter-tcp=80 <HOSTLIST> --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new --filter-tcp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt --dpi-desync=fake,split2 --dpi-desync-repeats=11 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin --new --filter-udp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic=/opt/zapret/files/fake/quic_initial_www_google_com.bin --new --filter-udp=443 <HOSTLIST_NOAUTO> --dpi-desync=fake --dpi-desync-repeats=11 --new --filter-tcp=80,443 <HOSTLIST> --dpi-desync=fake,disorder2 --dpi-desync-repeats=6 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig"
|
NFQWS_OPT="--filter-tcp=80 <HOSTLIST> --dpi-desync=fake,fakedsplit --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new --filter-tcp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt --dpi-desync=fake,multidisorder --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin --new --filter-udp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic=/opt/zapret/files/fake/quic_initial_www_google_com.bin --new --filter-udp=443 <HOSTLIST_NOAUTO> --dpi-desync=fake --dpi-desync-repeats=11 --new --filter-tcp=443 <HOSTLIST> --dpi-desync=fake,multidisorder --dpi-desync-split-pos=midsld --dpi-desync-repeats=6 --dpi-desync-fooling=badseq,md5sig"
|
||||||
|
|
||||||
|
|
||||||
# FlowOffload mode : donttouch,none,software,hardware
|
# FlowOffload mode : donttouch,none,software,hardware
|
||||||
|
|||||||
@@ -34,12 +34,13 @@ function set_cfg_default_values
|
|||||||
set $cfgname.config.NFQWS_PORTS_UDP_KEEPALIVE='0'
|
set $cfgname.config.NFQWS_PORTS_UDP_KEEPALIVE='0'
|
||||||
set $cfgname.config.NFQWS_OPT="
|
set $cfgname.config.NFQWS_OPT="
|
||||||
--filter-tcp=80 <HOSTLIST>
|
--filter-tcp=80 <HOSTLIST>
|
||||||
--dpi-desync=fake,split2
|
--dpi-desync=fake,fakedsplit
|
||||||
--dpi-desync-autottl=2
|
--dpi-desync-autottl=2
|
||||||
--dpi-desync-fooling=md5sig
|
--dpi-desync-fooling=md5sig
|
||||||
--new
|
--new
|
||||||
--filter-tcp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt
|
--filter-tcp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt
|
||||||
--dpi-desync=fake,split2
|
--dpi-desync=fake,multidisorder
|
||||||
|
--dpi-desync-split-pos=1,midsld
|
||||||
--dpi-desync-repeats=11
|
--dpi-desync-repeats=11
|
||||||
--dpi-desync-fooling=md5sig
|
--dpi-desync-fooling=md5sig
|
||||||
--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
|
||||||
@@ -53,11 +54,11 @@ function set_cfg_default_values
|
|||||||
--dpi-desync=fake
|
--dpi-desync=fake
|
||||||
--dpi-desync-repeats=11
|
--dpi-desync-repeats=11
|
||||||
--new
|
--new
|
||||||
--filter-tcp=80,443 <HOSTLIST>
|
--filter-tcp=443 <HOSTLIST>
|
||||||
--dpi-desync=fake,disorder2
|
--dpi-desync=fake,multidisorder
|
||||||
|
--dpi-desync-split-pos=midsld
|
||||||
--dpi-desync-repeats=6
|
--dpi-desync-repeats=6
|
||||||
--dpi-desync-autottl=2
|
--dpi-desync-fooling=badseq,md5sig
|
||||||
--dpi-desync-fooling=md5sig
|
|
||||||
"
|
"
|
||||||
# save changes
|
# save changes
|
||||||
commit $cfgname
|
commit $cfgname
|
||||||
|
|||||||
Reference in New Issue
Block a user