
zapret-discord-youtube
Bypass DPI blocks for Discord and YouTube on Windows
Replaces —

Who it's for
Provides a no-cost alternative to a monthly VPN subscription for users whose primary need is accessing Discord or YouTube past ISP DPI filtering. Multiple presets mean most users find a working strategy without writing any configuration themselves.
Your ISP uses DNS-based blocking rather than DPI. Changing your DNS resolver to Cloudflare (1.1.1.1) or Google (8.8.8.8) is simpler and does not require a WinDivert driver.
The repository exposes raw zapret strategy parameters and provides test utilities that check DPI behavior against Cloudflare and Amazon infrastructure. Custom strategies can be built by modifying existing presets using the documented nfqws parameter format from the upstream zapret project.
Your research environment is not Windows. The underlying zapret tool is cross-platform, but this distribution's tooling (batch files, WinDivert driver) is Windows-specific.
With over 2,500 forks, the repository serves as a coordination point for users who test and share updated strategy presets. The update mechanism in service.bat lets users refresh the IPSet list from the repository to pick up new IP ranges as platforms update their infrastructure.
You need reliable bypass coverage for services beyond Discord, YouTube, and Telegram. Domain and IP lists can be extended manually, but default coverage and community testing focus on these three platforms.
The game filter mode in service.bat extends bypass coverage to UDP and TCP traffic on high ports, which covers most game network traffic. Users can run Discord alongside their game while the bypass is active, without routing all game traffic through a VPN.
Your game uses kernel-level anti-cheat software that detects WinDivert. In that case, running the bypass while the game is active may cause the game to block entry or flag your account.
The problem
ISP-level blocking is different from DNS-based filtering. Switching to a custom DNS server, clearing the browser cache, or using a different Wi-Fi network does not help when the provider inspects packets at Layer 3 and 4 using DPI hardware. Discord and YouTube, blocked this way, stay unreachable regardless of browser settings. The typical workaround is a paid VPN, which routes all traffic through a third-party server in another country. That adds latency, costs money monthly, may reduce connection speed noticeably, and puts all browsing data through a commercial provider. Users who need access to one or two specific blocked platforms are paying for infrastructure far broader than the problem they actually have.
How it works
WinDivert intercepts outbound packets and applies obfuscation strategies labeled ALT, FAKE, and others. When one strategy stops matching the ISP DPI rules, switching to another takes seconds. The general.bat file runs strategies manually for testing before committing one to autostart.
Service.bat installs any working strategy as a persistent Windows service (services.msc) that starts automatically at boot. Status can be checked, the strategy swapped, and the service removed from the same menu without touching the Windows registry manually.
A game filter toggle in service.bat extends bypass coverage to UDP and TCP traffic on ports above 1023, which benefits games and other non-browser applications. IPSet mode applies filtering only to IP ranges listed in ipset-all.txt, giving users control over which IP blocks are subject to circumvention.
Users can expand bypass coverage by adding domains to list-general-user.txt (subdomains included automatically) or IP ranges to ipset-all.txt, and exclude specific domains or IPs via the corresponding exclude files. Changes take effect on the next strategy start.
The Run Diagnostics option in service.bat checks for the most common configuration failures, can clear the Discord cache, and reports the status of the WinDivert driver and active strategy. The Test Utilities option verifies that each strategy actually reaches the target sites and checks DPI behavior against Cloudflare and Amazon infrastructure.
Service.bat includes an option to update the Windows hosts file with entries that fix Discord voice chat connectivity and the Telegram web client, which break under some bypass configurations independently of the main DPI strategy.
Features
- Multiple DPI bypass strategies
- Windows service autostart
- Game filter and IPSet modes
- Custom domain and IP lists
- Built-in diagnostics and strategy testing
- Hosts file updater for Discord voice and Telegram web
Recommended for this setup
Strengths
- No third-party server routing: Unlike a VPN, this tool manipulates packets locally on the user's machine. Browsing traffic does not pass through a commercial provider's server, which means no latency overhead from routing to another country and no exposure to a third-party's logging practices.
- Over 33,000 stars with active maintenance: The repository accumulated over 33,000 GitHub stars since October 2024 and received its last push in August 2026. With more than 2,500 forks, users have an active community building and sharing updated strategies as ISP detection rules evolve.
- MIT license with no usage restrictions: The primary code is MIT-licensed, permitting unrestricted personal, commercial, and internal-team use. Users can fork, modify, and redistribute the batch files and strategy configurations without licensing fees beyond retaining the copyright notice.
- Targeted, low-overhead bypass: The tool applies DPI circumvention only to the traffic matching the configured domain or IP lists. Other traffic is unaffected, so games, downloads, and unrelated browsing continue without the packet-inspection overhead a full VPN adds.
Trade-offs
- Windows-only, no cross-platform support: zapret-discord-youtube is built on WinDivert, a Windows-specific packet interception driver. There is no Mac or Linux version of this distribution; users on those platforms would need to build and configure the upstream zapret project separately, which requires more technical work.
- WinDivert triggers antivirus warnings: WinDivert is flagged by some antivirus programs because it can be used by both legitimate and malicious software. To use the tool, users must add the extraction folder to their antivirus exclusion list or disable PUA detection. The README notes that detection entries specifically name 'WinDivert' or 'Not-a-virus:RiskTool.Multi.WinDivert.'
- Bypass strategies require periodic replacement: DPI rules are updated on the ISP's side over time. A strategy that works today may stop working in weeks or months as the provider updates its packet-matching logic. Users must then manually test and switch to a different strategy preset, or build a custom one using the upstream zapret parameter documentation.
- Anti-cheat conflicts for gamers: Games with kernel-level anti-cheat systems may detect WinDivert as a suspicious driver and block the game from launching. The upstream zapret-win-bundle repository provides WinDivert hiding instructions, but this adds setup complexity and may not work for all anti-cheat implementations.
Tech stack
FAQ
No. zapret-discord-youtube manipulates packets locally using WinDivert; it does not route traffic through a third-party server. Your IP address stays the same, and traffic for other sites is unaffected. If you need a different IP address for geo-unblocking content only available in another country, a VPN is the right tool; this one addresses only DPI-based blocking.
WinDivert, the packet interception driver bundled with the tool, is flagged by some antivirus programs because it can be used by both legitimate and malicious software. WinDivert itself is not a virus. To use the tool, add the extraction folder to your antivirus exclusion list, or disable PUA (potentially unwanted application) detection for the folder. Detection entries specifically name 'WinDivert' or 'Not-a-virus:RiskTool.Multi.WinDivert.'
First, run service.bat and select Run Diagnostics to check for configuration errors. If diagnostics are clean, try resetting the Windows network stack by running netsh winsock reset, netsh int ip reset all, netsh winhttp reset proxy, and ipconfig /flushdns from an administrator command prompt, then restart. If nothing works, test all strategy variants including ALT and FAKE presets. Some ISPs require a custom strategy; the upstream zapret documentation covers how to build one using the nfqws parameter format.
Run service.bat and select Update Hosts File. If your hosts file is out of date, the utility opens a text editor with the needed entries. Copy the content, open the system hosts file (typically at C:\Windows\System32\drivers\etc\hosts) in a text editor running as administrator, paste the entries at the end, save, and retest the connection.
The primary code is MIT-licensed, permitting unrestricted use, modification, and redistribution for personal, commercial, and internal-team purposes. The bundled WinDivert binaries are licensed under LGPL-3.0 or GPL-2.0; if you distribute a modified version that links against WinDivert as a component, the LGPL copyleft terms apply to that distribution. Running the tool for personal or team use does not trigger the copyleft clause.