goloom-server

module
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2026 License: Apache-2.0

README

Goloom

Русская версия

Goloom is a VPN that hides WireGuard packets inside a video-conferencing media stream. To a network observer the device looks like it is in a video call with a public service (Yandex Telemost, Wildberries Stream, or VK Calls); in reality it is exchanging WireGuard datagrams with a Goloom server.

This repository contains:

Component Path What it is
Server cmd/goloom-wg-server Long-running daemon for a Linux VPS. Joins a video call, terminates Goloom-tunneled WireGuard packets, hands them to the kernel WG stack, NATs to the internet.
Windows GUI client cmd/goloom-wg-gui Wails-based desktop app with profile management, embedded WireGuard userspace, and one-click connect.
Windows CLI client cmd/goloom-wg-client Headless reference client for Linux/Windows/macOS. Uses kernel/userspace WireGuard.
Mobile SDK mobile Gomobile bridge — produces goloom.aar (Android) and Goloom.xcframework (iOS). Embeds a userspace WireGuard so apps don't need wireguard-android / WireGuardKit.
Reference Android app Pinnss/goloom-android Full Compose UI — profile import/export, per-app split tunnel, logs, auto-reconnect.

Supported transports

Transport Status Notes
Yandex Telemost Stable VP8 video frames carry WireGuard.
Wildberries Stream (LiveKit) Stable DataChannel-native; needs operator-captured cookies (see USAGE.md).
VK Calls Stable VP8 video over anonymous-peer join; client solves captcha once via WebView and replays the session profile thereafter.

Quick start

Run a server

See docs/INSTALL.md (RU) for the full step-by-step. Short version on a Debian/Ubuntu VPS:

# Download the latest server binary from Releases:
wget -O goloom-wg-server https://github.com/Pinnss/goloom-server/releases/latest/download/goloom-wg-server-linux-amd64
chmod +x goloom-wg-server

# Place the example config + install script:
wget https://github.com/Pinnss/goloom-server/raw/main/goloom-wg-server.yaml.example -O goloom-wg-server.yaml
mkdir deploy && cd deploy
wget https://github.com/Pinnss/goloom-server/raw/main/deploy/install.sh
wget https://github.com/Pinnss/goloom-server/raw/main/deploy/goloom-wg-server.service
cd ..

# Run the installer (requires root + WireGuard + iptables already installed):
sudo bash deploy/install.sh
sudo systemctl start goloom-wg-server

The first start prints a one-time admin password — capture it from journalctl -u goloom-wg-server. Then open https://<vps-ip>:9443, log in, change the password, and create your first inbound. The panel returns a goloom://... connection string (and a QR code) you give to your client.

Connect a client
  • Windows GUI: download goloom-wg-gui-windows-amd64.zip from Releases, unzip, run goloom-wg-gui.exe as Administrator, paste the connstr, click Connect.
  • Android: download the latest APK from goloom-android Releases, install, scan the QR or paste the connstr.

For details on creating inbounds, capturing WB Stream cookies, and connecting different clients, see docs/USAGE.md (RU).

Build from source

git clone https://github.com/Pinnss/goloom-server.git
cd goloom-server
go build ./cmd/goloom-wg-server     # Linux server
go build ./cmd/goloom-wg-client     # CLI client

For the Wails GUI, see cmd/goloom-wg-gui/README.md. For the mobile SDK, see mobile/README.md.

License

Apache-2.0.

Directories

Path Synopsis
cmd
goloom-wg-client command
goloom-wg-client connects to a Goloom inbound and exposes a local UDP listener for the system WireGuard userspace to dial.
goloom-wg-client connects to a Goloom inbound and exposes a local UDP listener for the system WireGuard userspace to dial.
internal
admin
CaptchaBroker mediates VK Calls captcha challenges between the inbound runners (the "asker") and the operator's browser (the "solver").
CaptchaBroker mediates VK Calls captcha challenges between the inbound runners (the "asker") and the operator's browser (the "solver").
admin/ui/components
templ: version: v0.3.1001
templ: version: v0.3.1001
admin/ui/pages
templ: version: v0.3.1001
templ: version: v0.3.1001
api
Package api implements the HTTP handshake against Telemost's cloud-api endpoint to obtain a goloom signalling session.
Package api implements the HTTP handshake against Telemost's cloud-api endpoint to obtain a goloom signalling session.
goloom
Package goloom defines the wire types and the WebSocket signalling client for Yandex Telemost's "goloom" SFU.
Package goloom defines the wire types and the WebSocket signalling client for Yandex Telemost's "goloom" SFU.
identity
Package identity generates plausible Russian display names so our goloom peers blend into a real Telemost call participant list instead of obviously sticking out as "goloom-server" / "goloom-client".
Package identity generates plausible Russian display names so our goloom peers blend into a real Telemost call participant list instead of obviously sticking out as "goloom-server" / "goloom-client".
inbound
Package inbound represents a single configured "tunnel into a Telemost meeting" on the goloom-wg-server.
Package inbound represents a single configured "tunnel into a Telemost meeting" on the goloom-wg-server.
media
Package media holds tiny hardcoded payloads used as send-side filler so the SFU sees periodic RTP and doesn't tear down our publisher PC for inactivity.
Package media holds tiny hardcoded payloads used as send-side filler so the SFU sees periodic RTP and doesn't tear down our publisher PC for inactivity.
peer
Package peer wraps Pion's RTCPeerConnection with the few extras goloom requires: ICE candidate buffering until remote description is set, and a uniform logging prefix so PUB and SUB events are easy to tell apart.
Package peer wraps Pion's RTCPeerConnection with the few extras goloom requires: ICE candidate buffering until remote description is set, and a uniform logging prefix so PUB and SUB events are easy to tell apart.
relay
Package relay defines the listener-shaped transport family — relays that accept incoming connections (DTLS, TURN, raw UDP, etc.) and forward decrypted payload to a local WireGuard endpoint.
Package relay defines the listener-shaped transport family — relays that accept incoming connections (DTLS, TURN, raw UDP, etc.) and forward decrypted payload to a local WireGuard endpoint.
relay/vkturn
DTLS-over-UDP listener that mirrors vk-turn-proxy server (see Moroka8/vk-turn-proxy PR #162).
DTLS-over-UDP listener that mirrors vk-turn-proxy server (see Moroka8/vk-turn-proxy PR #162).
relay/vkturnsrtp
Package vkturnsrtp implements the SRTP-over-DTLS server-side adapter for the github.com/Pinnss/goloom-server/internal/relay.KindVKTurnSRTP relay.
Package vkturnsrtp implements the SRTP-over-DTLS server-side adapter for the github.com/Pinnss/goloom-server/internal/relay.KindVKTurnSRTP relay.
session
Stages 1-6 wiring shared with PoC #1.
Stages 1-6 wiring shared with PoC #1.
sfu
Package sfu defines an abstraction over the SFU/transport layer that carries WireGuard datagrams between a goloom client and server.
Package sfu defines an abstraction over the SFU/transport layer that carries WireGuard datagrams between a goloom client and server.
sfu/livekit
Package livekit adapts the LiveKit-based WB Stream transport to sfu.Transport / sfu.Session.
Package livekit adapts the LiveKit-based WB Stream transport to sfu.Transport / sfu.Session.
sfu/sfupool
Package sfupool aggregates N parallel SFU sessions into one sfu.Session so a single logical inbound can spread WG traffic across multiple Telemost meeting participants.
Package sfupool aggregates N parallel SFU sessions into one sfu.Session so a single logical inbound can spread WG traffic across multiple Telemost meeting participants.
sfu/telemost
Package telemost adapts the legacy Yandex Telemost transport to the generic sfu.Transport / sfu.Session interfaces.
Package telemost adapts the legacy Yandex Telemost transport to the generic sfu.Transport / sfu.Session interfaces.
sfu/vkcalls
PeerConnection driver for VK Calls' SFU.
PeerConnection driver for VK Calls' SFU.
sfu/vkcalls/videocode
Videocode: row-major grid, H.264 I_PCM over WebRTC.
Videocode: row-major grid, H.264 I_PCM over WebRTC.
tun
tunnel
Package tunnel implements PoC #2A's framing layer: arbitrary []byte payloads ride inside what the SFU sees as VP8 video frames.
Package tunnel implements PoC #2A's framing layer: arbitrary []byte payloads ride inside what the SFU sees as VP8 video frames.
wgprovision
Package wgprovision provisions WireGuard interfaces from goloom-wg-server: generates keypairs, allocates subnets/ports from a pool, writes wgN.conf files, and brings interfaces up via wg-quick.
Package wgprovision provisions WireGuard interfaces from goloom-wg-server: generates keypairs, allocates subnets/ports from a pool, writes wgN.conf files, and brings interfaces up via wg-quick.
wgrelay
Package wgrelay implements a WireGuard UDP transport-proxy on top of a goloom Sender/Receiver pair.
Package wgrelay implements a WireGuard UDP transport-proxy on top of a goloom Sender/Receiver pair.
Package mobile is the gomobile-friendly entry point for embedding the goloom tunnel into Android and iOS apps.
Package mobile is the gomobile-friendly entry point for embedding the goloom tunnel into Android and iOS apps.
pkg
vkauth
Captcha solvers for the VK anonymous-login flow.
Captcha solvers for the VK anonymous-login flow.
wgclient
Package wgclient encapsulates the goloom client-side tunnel (Telemost / WB-Stream LiveKit → local UDP for WireGuard userspace) behind an event-driven Service API.
Package wgclient encapsulates the goloom client-side tunnel (Telemost / WB-Stream LiveKit → local UDP for WireGuard userspace) behind an event-driven Service API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL