feat: helper functions; docs: more complex examples
This commit is contained in:
20 files changed
+1046
-19
No files matched your search
+14
-1
@@ -1,7 +1,8 @@
|
||||
# Usage guides
|
||||
|
||||
Short guides for common setups. Each one has a minimal config, the commands you will use,
|
||||
and links into the [options reference](../options/index.md) for the details.
|
||||
and links into the [options reference](../options/index.md) for the details. Complete
|
||||
examples follow below.
|
||||
|
||||
| Guide | When to read it |
|
||||
|---|---|
|
||||
@@ -9,6 +10,7 @@ and links into the [options reference](../options/index.md) for the details.
|
||||
| [Route the whole machine](./system-wide.md) | Every app should use the proxy, not only those set to it |
|
||||
| [Choose what goes through the proxy](./routing.md) | Only blocked sites through the proxy, or everything but some |
|
||||
| [Route a single app](./per-app.md) | Only some apps should use the proxy |
|
||||
| [Wrap programs with the proxy](./wrap-apps.md) | A package should always use the proxy, wherever it is started |
|
||||
| [Unblock sites without a server](./zapret.md) | YouTube, Discord or other sites are slowed or blocked by DPI |
|
||||
| [Run your own server](./server.md) | You have a VPS and want to connect your devices to it |
|
||||
| [Keep secrets out of the Nix store](./secrets.md) | Your config holds links, keys or passwords |
|
||||
@@ -17,3 +19,14 @@ and links into the [options reference](../options/index.md) for the details.
|
||||
| [Chain proxies and add exits](./chains.md) | WARP, Tor, SSH, or reaching a server through another one |
|
||||
| [Other Linux and Android](./other-hosts.md) | You are not on NixOS |
|
||||
| [Get past mobile whitelists](./whitelist-bypass.md) | Mobile internet lets only whitelisted services through |
|
||||
|
||||
## Complete examples
|
||||
|
||||
Whole configs that combine the guides, taken from real setups.
|
||||
|
||||
| Example | What it shows |
|
||||
|---|---|
|
||||
| [A relay server behind nginx](./examples/relay-server.md) | Five transports on one VPS, fronted by nginx, with subscriptions for each user |
|
||||
| [Several exits, picked per site](./examples/multi-exit.md) | Direct with zapret2, a VPS, WARP, SSH and Tor, each for the sites it suits |
|
||||
| [A private VPN for your own devices](./examples/private-vpn.md) | An AmneziaWG server with fixed addresses and private DNS names |
|
||||
| [A workstation using your own server](./examples/workstation.md) | Direct by default, wrapped programs, and TUN or the VPN on demand |
|
||||
Reference in new issue
Block a user