Files
2026-10-11 11:18:48 +05:00

2.4 KiB

Usage guides

Short guides for common setups. Each one has a minimal config, the commands you will use, and links into the options reference for the details. Complete examples follow below.

Guide When to read it
Connect through a proxy You have a proxy link or a subscription
Route the whole machine Every app should use the proxy, not only those set to it
Choose what goes through the proxy Only blocked sites through the proxy, or everything but some
Route a single app Only some apps should use the proxy
Wrap programs with the proxy A package should always use the proxy, wherever it is started
Unblock sites without a server YouTube, Discord or other sites are slowed or blocked by DPI
Run your own server You have a VPS and want to connect your devices to it
Keep secrets out of the Nix store Your config holds links, keys or passwords
Control it day to day Switching things without editing Nix or typing sudo
Use an AmneziaWG config You have an AmneziaWG .conf or an Amnezia vpn:// export
Chain proxies and add exits WARP, Tor, SSH, or reaching a server through another one
Group outbounds and fail over Several exits for one job, moving off one that stops working
Other Linux and Android You are not on NixOS
Get past mobile whitelists Mobile internet lets only whitelisted services through
Track down a problem Something fails now and then, and you want to see why

Complete examples

Whole configs that combine the guides, taken from real setups.

Example What it shows
A relay server behind nginx Five transports on one VPS, fronted by nginx, with subscriptions for each user
Several exits, picked per site Direct with zapret2, a VPS, WARP, SSH and Tor, each for the sites it suits
A private VPN for your own devices An AmneziaWG server with fixed addresses and private DNS names
A workstation using your own server Direct by default, wrapped programs, and TUN or the VPN on demand