Favicon of Zapret Discord YouTube

Zapret Discord YouTube

Windows batch scripts wrapping zapret/WinDivert to circumvent DPI-based blocking of Discord, YouTube, and Telegram.

Zapret Discord YouTube website screenshot
Zapret Discord YouTube GitHub repository preview

This repository packages the zapret/WinDivert DPI circumvention engine into ready-to-run Windows batch scripts. It targets Windows users whose ISP blocks or throttles Discord, YouTube, or Telegram and who want a local bypass without running a full VPN. It's aimed at end users comfortable running batch files and tweaking settings, not at developers looking for a library or API.

The project builds on bol-van/zapret-win-bundle and ships the same WinDivert-based traffic interception, wrapped in scripts that let you pick a bypass strategy, install it as a Windows service, and diagnose problems without touching raw command-line flags.

Key features

  • Multiple bypass strategies: ships several pre-built strategies (ALT, FAKE, and others) you switch between when one stops working, since DPI detection methods change over time.
  • Service installer: service.bat installs a chosen strategy into Windows services (services.msc) so it starts automatically on boot.
  • Game Filter: a toggle that extends the bypass to UDP/TCP traffic on ports above 1023, aimed at games and other apps that need it, without affecting normal browsing when disabled.
  • IPSet Filter modes: switch between none, loaded, and any to control how strictly IP addresses are checked against ipset-all.txt.
  • Hosts file updater: fixes Telegram's web client and Discord's voice chat connection by refreshing the local hosts file.
  • Diagnostics and test runner: Run Diagnostics checks for common misconfigurations, and Run Tests checks target sites and known DPI checkers (Cloudflare, Amazon, etc.).
  • Custom allow/deny lists: add your own domains or IP ranges via list-general-user.txt, ipset-all.txt, and matching exclude files, generated automatically on first run.
  • Auto-update checks: optional automatic checking for new releases and IP set updates.

Ideal use cases

This fits Windows users in regions where Discord, YouTube, or Telegram are blocked or degraded by DPI-based filtering, and who want a lightweight local fix instead of a full VPN client. It also suits gamers who need selective bypass for UDP/TCP game traffic without breaking the rest of their internet access, via the Game Filter toggle.

It is not a fit for macOS or Linux users (the scripts and driver are Windows-only; the underlying zapret project has a separate Linux path outside this repo). It's also not a turnkey solution: strategies can stop working as blocking methods evolve, so you're expected to test multiple strategies and occasionally troubleshoot. Corporate environments with strict antivirus policies may have trouble too, since the WinDivert driver is frequently flagged as a PUA or risk tool by antivirus software.

Installation

  1. Enable Secure DNS (DNS over HTTPS) first. In Chrome, turn on "Use secure DNS" and pick a provider other than the default. In Firefox, enable DNS over HTTPS with maximum protection and set a provider URL manually (for example https://dns.google/dns-query). Windows 11 supports enabling Secure DNS directly in OS settings.

  2. Download the archive from the latest release page.

  3. Right-click the downloaded archive, open Properties, and check "Unblock" (not needed if you use 7-Zip or PeaZip).

  4. Extract the archive to a path without Cyrillic characters or special symbols.

  5. Run the file you need:

general.bat      # run a strategy manually, useful for testing which one works
service.bat      # install a working strategy as an autostart service, or run diagnostics/tests

To fully remove a leftover WinDivert service after uninstalling, use:

driverquery | find "Divert"
sc stop service_name_from_previous_step
sc delete service_name_from_previous_step

If a resource still doesn't load after trying different strategies, add its domain to list-general-user.txt or its IP range to ipset-all.txt, and re-check with Run Diagnostics.

Frequently asked questions

Share:

Stars
31.4K
Forks
2.4K
Last commit
4 days ago
Repository age
2 years
Self-hosted
Yes
Activity score
84/100
View Repository
Built with:
Ad
Favicon

 

  
 

Similar to Zapret Discord YouTube

Favicon

 

  
 
Favicon

 

  
 
Favicon