wrolpi/controller/api
lrnselfreliance 2c3300b8b0
Torrents over a fail-closed VPN (#1026)
Torrents reach the Internet only through a fail-closed VPN (WireGuard or
OpenVPN, any provider), so peers never see a WROLPi's own address.

- A network namespace (Pi/Debian) or the vpn container (Docker) with an
  nftables kill switch; NAT-PMP or fixed port forwarding.
- qBittorrent inside it, sandboxed; torrents kept in config/torrents/.
- Torrent download form, Torrents page, Share as torrent, nav warning, and
  VPN settings in both Controller UIs.
- Help docs: Torrents, and The VPN for Torrents.

QA'd on a Raspberry Pi with a real provider over WireGuard and OpenVPN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 14:26:24 -07:00
..
__init__.py Creating Controller service which will control WROLPi services, admin, SMART, disks, and status. nginx will fallback to Controller UI when React UI is unavailable (such as during upgrades). 2025-12-15 15:48:40 -07:00
admin.py Hotspot captive portal: welcome page with the WROLPi's address (#709) 2026-09-13 20:10:02 -06:00
captive_portal.py Hotspot captive portal: welcome page with the WROLPi's address (#709) 2026-09-13 20:10:02 -06:00
disks.py controller: don't strand the API stopped on a failed primary unmount 2026-07-23 19:23:05 -06:00
onboarding.py Debian installs show the Controller drive wizard (#826) 2026-10-13 15:50:20 -06:00
ready.py Checking readiness of main app in Controller instead of javascript requests, which break with CORS. 2026-03-08 16:05:56 -06:00
schemas.py Torrents over a fail-closed VPN (#1026) 2026-11-28 14:26:24 -07:00
scripts.py A failed upgrade is shown on the upgrade page instead of redirecting home (#955) 2026-11-08 11:11:59 -07:00
services.py Controller logs: an unparseable since is a 400, not empty logs (#953) 2026-11-08 08:02:48 -07:00
status.py controller: VNC toggle, gated on the Desktop running 2026-07-29 18:10:05 -06:00
sync.py The Controller can make a secondary a copy of its primary with rsync (#992) 2026-11-18 20:21:55 -07:00
vpn.py Torrents over a fail-closed VPN (#1026) 2026-11-28 14:26:24 -07:00