explaingit

flowseal/zapret-discord-youtube

📈 Trending27,460BatchfileAudience · developerComplexity · 3/5ActiveSetup · moderate

TLDR

Windows batch scripts that bypass internet censorship in Russia using DPI circumvention to unblock Discord, YouTube, and other services.

Mindmap

mindmap
  root((repo))
    What it does
      Unblocks censored sites
      Modifies network packets
      Runs locally on Windows
    How it works
      DPI circumvention
      WinDivert driver
      Packet manipulation
    Setup and use
      Batch file scripts
      Background service
      Auto-update checker
    Key features
      Game filter mode
      Diagnostic tools
      Manual test mode

Things people build with this

USE CASE 1

Unblock Discord and YouTube on a Windows machine in a censored region without using a VPN.

USE CASE 2

Run a background service that automatically applies DPI bypass techniques on every system startup.

USE CASE 3

Test different packet manipulation strategies to find which one works best for your network conditions.

USE CASE 4

Avoid disrupting online games while still bypassing censorship for other traffic.

Tech stack

BatchWinDivertWindows

Getting it running

Difficulty · moderate Time to first run · 30min

Requires Windows admin privileges and WinDivert driver installation; antivirus software may flag the tool.

License could not be detected automatically. Check the repository's LICENSE file before use.

In plain English

This project is a Windows-only bundle of batch scripts that helps users keep services like Discord, YouTube, and Telegram working when their network is interfering with those connections. It is built on top of an existing tool called zapret (originally by bol-van) and uses a low-level Windows driver called WinDivert, which the README describes as a tool for intercepting and filtering traffic, the rough Windows equivalent of iptables and NFQUEUE on Linux. WinDivert is not a virus, but some antivirus products flag it as a potential-risk tool, so the README warns users that they may need to add the project's folder to their antivirus exclusion list. In practice, you download a release archive, unblock and unpack it on a path that does not contain Cyrillic or special characters, and then double-click one of the included .bat files. The main entry points described are general.bat, which runs a chosen bypass "strategy" manually so you can test which one works on your connection, and service.bat, which can install the chosen strategy as a Windows service so it runs automatically on boot, remove it again, check status, toggle a Game Filter mode for UDP and TCP on ports above 1023, switch between modes that apply the bypass to a curated ipset-all.txt list, update that IP list, update the system hosts file (used to fix the Telegram web client and Discord voice chat), check for updates, run diagnostics, and run built-in tests against sample sites and DPI checkers. The README cautions that any given strategy can stop working over time, so users may need to try several or even modify one. The full README is longer than what was provided.

Copy-paste prompts

Prompt 1
How do I install and run the zapret-discord-youtube batch scripts on my Windows machine to unblock Discord?
Prompt 2
What is DPI circumvention and how does the WinDivert driver intercept network packets to bypass censorship?
Prompt 3
How do I set up the background service so the bypass runs automatically every time I start Windows?
Prompt 4
Why might my antivirus flag WinDivert as suspicious, and is it safe to use?
Open on GitHub → Explain another repo

Generated 2026-05-21 · Model: sonnet-4-6 · Verify against the repo before relying on details.