9cd3dd0134cc60964afb2fc7dec683273bfcd633
Custom WireGuard mode doesn't support NAT-PMP port forwarding — peers can't connect inbound so most torrents stall. Switching to protonvpn provider with SERVER_FEATURES=p2p picks a port-forwarding-capable server and VPN_PORT_FORWARDING=on handles the NAT-PMP handshake. Up command updates qBittorrent listen port automatically when gluetun gets the port.
infrastructure
Personal infrastructure-as-code for Legion (k3s home server) and supporting tooling.
| Doc | What it covers |
|---|---|
AGENTS.md |
Full reference: machines, secrets, services, domains, namespaces, common operations |
servers/legion/README.md |
What's running on Legion and how deployment works |
servers/legion/RUNBOOK.md |
Disaster recovery — full restore from scratch |
Quick start
cd servers/legion
direnv allow
terraform plan
terraform apply
Push to servers/ to deploy app changes via Argo CD.
Languages
HCL
78.4%
Shell
17.5%
Python
2.6%
Dockerfile
1.5%