Advertisement
Valeriy

Untitled

Jan 1st, 2025
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Provider network interface, e.g. eth3
  2. # You can specify multiple interfaces separated by space, e.g. ISP_INTERFACE="eth3 nwg1"
  3. ISP_INTERFACE="ppp0"
  4.  
  5. # All arguments here: https://github.com/bol-van/zapret (search for `nfqws` on the page)
  6. # HTTP(S) strategy
  7. NFQWS_ARGS="--dpi-desync=fake,multisplit --dpi-desync-split-pos=1,midsld --dpi-desync-ttl=0 --dpi-desync-repeats=16 --dpi-desync-fooling=badseq,md5sig --dpi-desync-fake-tls=/opt/etc/nfqws/tls_clienthello.bin"
  8.  
  9. # QUIC strategy
  10. NFQWS_ARGS_QUIC="--filter-udp=443 --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic=/opt/etc/nfqws/quic_initial.bin"
  11.  
  12. # UDP strategy (doesn't use lists from NFQWS_EXTRA_ARGS)
  13. NFQWS_ARGS_UDP="--filter-udp=50000-50099 --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-repeats=6 --dpi-desync-cutoff=n2"
  14.  
  15. # auto - automatically detects blocked resources and adds them to the auto.list
  16. NFQWS_EXTRA_ARGS="--hostlist=/opt/etc/nfqws/user.list --hostlist-auto=/opt/etc/nfqws/auto.list --hostlist-auto-debug=/opt/var/log/nfqws.log --hostlist-exclude=/opt/etc/nfqws/exclude.list"
  17.  
  18. # list - applies rules only to domains in the user.list
  19. #NFQWS_EXTRA_ARGS="--hostlist=/opt/etc/nfqws/user.list"
  20.  
  21. # all  - applies rules to all traffic except domains from exclude.list
  22. #NFQWS_EXTRA_ARGS="--hostlist-exclude=/opt/etc/nfqws/exclude.list"
  23.  
  24. # IPv6 support
  25. IPV6_ENABLED=0
  26.  
  27. # TCP ports for iptables rules
  28. TCP_PORTS=443
  29.  
  30. # UDP ports for iptables rules
  31. UDP_PORTS=443,50000:50099
  32.  
  33. # Keenetic policy name
  34. POLICY_NAME="nfqws"
  35.  
  36. # Syslog logging level (0 - silent, 1 - debug)
  37. LOG_LEVEL=0
  38.  
  39. NFQUEUE_NUM=200
  40. USER=nobody
  41. CONFIG_VERSION=5
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement