Anazoa tunnels point-to-point IP traffic over a WebRTC video call on Russia's government-pushed Max platform. Both ends impersonate an Android Max client. IP packets are carried as tunnel frames embedded in the VP9 video bitstream, paced by Google Chrome libwebrtc's internal scheduler.
Inspired by the Protozoa work.
Expected tunneling bandwidth for a 720p video call is around 2 Mbps.
Two peers need to be configured, A and B.
anazoa.toml.sample as a template for creating two anazoa.toml configuration files (it's advised to tweak fingerprint section) and for each peer runcp anazoa.toml.sample anazoa.toml
edit anazoa.toml
anazoa-auth -c anazoa.toml login --phone +71234567890
Phone numbers must be different for the two peers.
Update both configuration files with:
- token, signaling-user-id and remote-peer-id parameters you got after successful authentication,
- media parameter pointing to an Opus audio file -- some audiobook will do.
anazoa-tun -c anazoa.toml
and then configure newly created tun0 (the name chosen via tun-name parameter) network interfaces (see scripts/setup-tun-test.sh for a sample).
anazoa-ctl -s /run/anazoa.sock answer always
Explicit answer permission is needed to mitigate active probing. In a real deployment, you may want to send an order for a callback via an independent channel (for example, e-mail) and allow answering for a short time period only:
anazoa-ctl -s /run/anazoa.sock answer 120
See scripts/callback.py for a ready-made e-mail based workflow.
anazoa-ctl -s /run/anazoa.sock call
After a WebRTC connection establishes, the tunnel is ready to be used.
To hang up the call, run on any side
anazoa-ctl -s /run/anazoa.sock hangup
$ claude mcp add anazoa \
-- python -m otcore.mcp_server <graph>