Flowseal / zapret-discord-youtube
Flowseal / zapret-discord-youtube
Flowseal/zapret-discord-youtube NEW: Telegram Desktop Acceleration - https://github.com/Flowseal/tg-ws-proxy Alternative: https://github.com/bol-van/zapret-win-bundle. You can also financially support the original zapret developer here. Flowseal/zapret-discord-youtube 新功能:Telegram Desktop 加速 - https://github.com/Flowseal/tg-ws-proxy 替代方案:https://github.com/bol-van/zapret-win-bundle。您也可以在此处为 zapret 的原作者提供经济支持。
Caution: FAKES I do not maintain any other pages/groups on Telegram or YouTube channels. If you encounter anything outside of this GitHub page that is distributed in my name - it is a FAKE. 注意:假冒警告 我没有维护任何其他的 Telegram 页面/群组或 YouTube 频道。如果您在 GitHub 页面之外发现任何以我的名义发布的内容,那都是假冒的。
Warning: ANTIVIRUS WinDivert may trigger an antivirus response. WinDivert is a traffic interception and filtering tool necessary for zapret to function. It is a replacement for iptables and NFQUEUE in Linux, which are not available on Windows. It can be used by both good and bad programs, but it is not a virus itself. The WinDivert64.sys driver is signed to allow loading into the 64-bit Windows kernel. 警告:杀毒软件 WinDivert 可能会触发杀毒软件的警报。WinDivert 是 zapret 运行所必需的流量拦截与过滤工具。它是 Linux 中 iptables 和 NFQUEUE 在 Windows 上的替代品。它既可以被良性程序使用,也可以被恶意程序使用,但它本身并非病毒。WinDivert64.sys 驱动程序已签名,以便能够加载到 64 位 Windows 内核中。
Excerpt from the bol-van/zapret-win-bundle repository readme: Some antiviruses tend to classify WinDivert files as high-risk or hacking tools. The file may be deleted and moved to quarantine. The detection will necessarily be named “WinDivert” or “Not-a-virus:RiskTool.Multi.WinDivert”. In case of antivirus issues, add the zapret folder to exclusions or disable PUA (Potentially Unwanted Application) detection. For example, Kaspersky has a checkbox: “Detect legal software that can be used by criminals for damage”. With careful and correct configuration of exclusions, it is recommended to set an exclusion; however, if you do not fully understand what you are doing, it is recommended to disable PUA detection. 摘自 bol-van/zapret-win-bundle 仓库的 readme: 一些杀毒软件倾向于将 WinDivert 文件归类为高风险或黑客工具,导致文件被删除并移至隔离区。检测名称通常为 “WinDivert” 或 “Not-a-virus:RiskTool.Multi.WinDivert”。如果遇到杀毒软件问题,请将 zapret 文件夹添加到排除项中,或禁用 PUA(潜在有害应用程序)检测。例如,卡巴斯基有一个选项:“检测可被犯罪分子利用造成损害的合法软件”。如果配置得当,建议设置排除项;但如果您不完全了解操作后果,建议禁用 PUA 检测。
Important: All binary files in the bin folder are taken from zapret-win-bundle/zapret-winws and zapret/releases. You can verify this using hashes/checksums. Always check what you are running when using builds from the internet!
重要提示: bin 文件夹中的所有二进制文件均取自 zapret-win-bundle/zapret-winws 和 zapret/releases。您可以通过哈希值/校验和进行验证。在使用从互联网下载的构建版本时,请务必检查您正在运行的内容!
⚙️ Usage / 使用方法
-
Enable Secure DNS:
- In Chrome: “Use secure DNS” and select a DNS service provider (choose one other than the default provider).
- In Firefox: “Enable DNS over HTTPS using: Max Protection”, then “Choose provider” and enter the provider’s URL manually, for example, https://dns.google/dns-query (as the Cloudflare provider may be blocked).
- Windows 11 supports enabling Secure DNS directly in OS settings - instructions here. Recommended if you are using Windows 11.
-
启用安全 DNS:
- 在 Chrome 中:开启“使用安全 DNS”,并选择一个 DNS 服务提供商(选择非默认提供商)。
- 在 Firefox 中:开启“通过 HTTPS 启用 DNS,使用:最大保护”,然后“选择提供商”并手动输入提供商 URL,例如可以使用 https://dns.google/dns-query(因为 Cloudflare 提供商可能已被屏蔽)。
- Windows 11 支持直接在系统设置中启用安全 DNS - 说明见此处。如果您使用 Windows 11,建议开启。
-
Download the archive (zip/rar) from the latest release page.
-
Go to the properties of the downloaded archive and check “Unblock”. If you use 7-Zip or PeaZip, this step can be skipped.
-
Unpack the contents of the archive to a path that does not contain Cyrillic/special characters.
-
Run the required file.
-
从最新发布页面下载压缩包 (zip/rar)。
-
进入下载文件的属性,勾选“解除锁定”。如果您使用 7-Zip 或 PeaZip,此步骤可跳过。
-
将压缩包内容解压到不包含西里尔字母/特殊字符的路径中。
-
运行所需的文件。
ℹ️ Brief file descriptions / 文件简述
-
general.bat … - manual strategy launch. Manual launch can be used to check strategy performance. Performance depends on many factors. Try different strategies (ALT, FAKE, etc.) until you find a solution that works for you.
-
general.bat … - 手动启动策略。手动启动可用于测试策略的有效性。策略的有效性取决于多种因素。请尝试不同的策略(ALT、FAKE 等),直到找到适合您的解决方案。
-
service.bat - installation to autostart and other functions:
- Install Service - install any strategy to autostart (services.msc).
- Remove Services - remove strategy and WinDivert from services.
- Check Status - check bypass and service status.
- Game Filter - toggle bypass mode for games (and other services using UDP/TCP on ports > 1023). Requires strategy restart.
- IPSet Filter - toggle bypass mode for services from
ipset-all.txt. Useful for testing if a resource that works without zapret fails. - Auto-Update Check - Enable/Disable automatic update checks.
- Update IPSet List - update
ipset-all.txtfrom the repository. - Update Hosts File - update hosts file to fix Telegram web version and Discord voice chat connection.
- Check for Updates - check for updates.
- Run Diagnostics - diagnose common reasons why zapret might not work. Can also clear Discord cache.
- Run Tests - run utility to test strategies: Standard tests (targets.txt) and DPI checkers.
-
service.bat - 安装到自启动及其他功能:
- Install Service - 将任意策略安装到自启动(services.msc)。
- Remove Services - 从服务中移除策略和 WinDivert。
- Check Status - 检查绕过状态及服务状态。
- Game Filter - 切换游戏(及其他使用 1023 以上端口 UDP/TCP 的服务)的绕过模式。切换后需重启策略。
- IPSet Filter - 切换
ipset-all.txt中服务的绕过模式。在测试某些不使用 zapret 也能正常工作的资源时很有用。 - Auto-Update Check - 开启/关闭自动更新检查。
- Update IPSet List - 从仓库更新
ipset-all.txt列表。 - Update Hosts File - 更新 hosts 文件以修复 Telegram 网页版及 Discord 语音聊天连接。
- Check for Updates - 检查更新。
- Run Diagnostics - 诊断 zapret 无法工作的常见原因。最后还可以清理 Discord 缓存。
- Run Tests - 运行策略测试工具:标准测试 (targets.txt) 和 DPI 检测器。
☑️ Common questions and problems / 常见问题与故障排除
-
Nothing happens after running general script:* After starting a strategy (via a separate bat file, not service),
winws.exeshould open (the bypass), which can be seen in the taskbar. If it doesn’t, see #522. -
运行 general 脚本后没反应:* 启动策略后(通过单独的 bat 文件,而非 service),应该会打开
winws.exe(绕过程序),可以在任务栏看到。如果没有,请查看 #522。 -
Telegram (web version) doesn’t work or infinite “connecting” to Discord voice chat: Run
service.bat, select “Update hosts file”. If your hosts is outdated, you will be prompted to update it manually: Copy the text from the opened notepad, open thehostsfile in the folder with administrator rights, paste the text at the end, save, and recheck the connection. -
Telegram(网页版)无法使用或 Discord 语音聊天无限“连接中”: 运行
service.bat,选择 “Update hosts file”。如果您的 hosts 文件已过期,系统会提示您手动更新:复制打开的记事本中的所有文本,以管理员身份打开文件夹中的hosts文件,将内容粘贴到文件末尾,保存并重新检查连接。 -
Bypass doesn’t work / stopped working: Important: Strategies may stop working over time due to detection. The repository contains many different strategies. If none work, you need to create a new one based on the provided ones by changing parameters. Check
service.bat->Run Diagnostics, ensure the resource address is in the domain/IP lists, and try other strategies (ALT/FAKE). -
绕过失效 / 停止工作: 重要提示: 策略可能会因被检测到而随时间失效。仓库中提供了许多不同的策略。如果都不起作用,您需要基于现有策略修改参数来创建新策略。请检查
service.bat->Run Diagnostics,确保资源地址在域名/IP 列表中,并尝试其他策略(ALT/FAKE)。