2026-04-15 14:49:13 +05:00
2026-04-15 14:49:13 +05:00
2026-04-15 14:49:13 +05:00
2026-04-15 14:49:13 +05:00
2026-04-15 14:49:13 +05:00
2026-04-15 14:49:13 +05:00
2026-04-11 16:50:50 +05:00
2026-04-11 16:50:50 +05:00
2026-04-15 14:49:13 +05:00
2026-04-14 22:51:31 +05:00

proxy-suite-flake

Declarative proxy stack for NixOS.

Bundles sing-box, zapret-discord-youtube, and tg-ws-proxy. Built specifically for dealing with Roskomnadzor (RKN) and the usual Russian ISP nonsense.

The goal is to replace GUI clients like v2rayN and throne – you configure your proxies in Nix, rebuild, and they just work as systemd services.


What it gives you

  • SOCKS5/HTTP proxy on 127.0.0.1:1080 by default – always running, always available to apps
  • Transparent proxy (TProxy) – redirect all system traffic through sing-box without configuring each app; start/stop on demand or autostart at boot
  • TUN mode – full tunnel via a virtual network interface; useful when TProxy doesn't cover something, with optional boot-time autostart
  • Per-app wrapping – run selected apps through the local proxy with proxy-ctl wrap <profile> -- <command>, without enabling global TProxy or TUN
  • Subscription URLs – point at a v2rayN/Clash-format subscription endpoint; the module fetches, decodes, and imports all proxies automatically, with a periodic refresh timer
  • Multiple outbounds with automatic latency-based switching or manual selection
  • Per-outbound routing – route specific domains, IPs, or geo sets to specific servers
  • Protocol support: vless (Reality, TLS), vmess, trojan, shadowsocks, hysteria2, TUIC v5, socks5, socks4, http/https proxy
  • proxy-ctl – control script for managing services, switching outbounds, and following logs
  • DPI bypass via zapret – handles YouTube, Discord, and other sites defined by the project
  • Telegram proxy – running local MTProto WebSocket proxy using tg-ws-proxy

Setup

Add to your flake inputs:

inputs.proxy-suite.url = "github:FUFSoB/proxy-suite-flake";

No need to add zapret separately – it comes along as a transitive input.

Add the module to your NixOS configuration:

modules = [ inputs.proxy-suite.nixosModules.default ];

Enable the service with all defaults:

services.proxy-suite = {
  enable = true;
};

By default, zapret and tgWsProxy stay disabled until you enable them explicitly.


Options

To see options and documentation, check out the options reference.

Options are autogenerated from options.nix using nix run .#update-options-doc.

S
Description
Fork of FUFSoB/proxy-suite-flake with a native Windows port (windows branch)
Readme
8.4 MiB
1 Stars 1 Watchers 0 Forks
Languages
Python 48.1%
Nix 44.8%
Shell 4.7%
Lua 1.2%
jq 1.1%