A macOS port of Flowseal/zapret-discord-youtube that bypasses DPI for Discord and YouTube on Apple Silicon, rewritten in Go and using pf, utun, and BPF instead of unsupported Windows/Linux interception mechanisms.

Stars

4

7-day growth

No data

Forks

1

Open issues

0

License

NOASSERTION

Last updated

2026-07-31

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It solves macOS's lack of WinDivert/NFQUEUE by building a packet datapath from pf route-to, utun, and raw BPF writes, and automatically converts all 21 upstream strategies with exact parameters, while avoiding SIP disablement, kernel extensions, or notarization.

Who it is for

  • macOS Apple Silicon users whose ISP or network applies DPI to Discord or YouTube
  • Existing zapret users looking for a supported macOS equivalent
  • Developers interested in pf, utun, and BPF packet interception techniques
  • Users in censored network environments who want a launchd-managed bypass

Use cases

  • Restore Discord and YouTube access when DPI blocks or degrades them
  • Use zaprctl autopick to find and keep the best strategy for a given ISP
  • Run a persistent daemon that watches and restores its pf anchor
  • Probe a Mac's packet-datapath capabilities before committing to install

Strengths

  • All 21 upstream strategies are auto-converted from .bat files with exact parameters, no hand-tuning
  • No need to disable SIP, install kernel extensions, use NetworkExtension, pay for a developer account, reboot, or notarize
  • Verified on real hardware with a ten-stage probe and rollback; /etc/pf.conf is left untouched
  • CLI exposes per-strategy transport limitations and refuses silent activation of incompatible strategies

Considerations

  • Traffic from root-owned processes is not bypassed, by design
  • Internet Sharing is unsupported, and full-tunnel VPNs make the datapath pointless unless --allow-vpn is used
  • Apple documents pf as not API; conflicts with other pfctl usage are possible, and DPI strategies can decay over time

README quick start

Quick start / Быстрый старт

Description

Flowseal's zapret-discord-youtube, fully ported to macOS (Apple Silicon) — DPI bypass for Discord and YouTube, rewritten from scratch in Go

Related repositories

Similar projects matched by category, topics, and programming language.

programmersd21
Featured
programmersd21 GitHub avatar

flow

flow is a minimalist terminal dashboard that displays real-time network throughput with smooth animations, multiple responsive modes, and zero configuration.

Developer ToolsCLI & Terminal
277
makecindy
Featured
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI & Machine LearningLarge Language Models
958
l0ng-ai
Featured
l0ng-ai GitHub avatar

tty7

tty7 is a fast, GPU-accelerated terminal workbench with persistent sessions, built-in input tools, SSH support, and coding agent awareness.

Developer ToolsCLI & Terminal
359