AutoNas is a fully automated, self-hosted media management solution that combines:
- A torrent client (qBittorrent) routed through a VPN (Gluetun)
- A full media automation stack (Sonarr, Radarr, Prowlarr)
- A personal media server (Jellyfin)
- Secure remote access via Tailscale
All wrapped in Docker for easy deployment.
⚠️ Disclaimer: This project is for educational and personal use only. If you enjoy a movie or show, support the creators by purchasing it or subscribing to the official VOD platforms.
- VPN Protection: All torrent traffic is routed through Gluetun (with WireGuard and port forwarding).
- Download Automation: Sonarr and Radarr automate your shows and movies via indexers managed by Prowlarr.
- Media Streaming: Jellyfin offers Netflix-like access to your collection.
- Remote Access: Seamless connection via Tailscale from anywhere.
- Monitoring with NetData: Keep an eye on your system's performance and health.
- VPN: Gluetun connects to ProtonVPN using WireGuard with port forwarding enabled.
- Torrenting: qBittorrent is configured to run inside Gluetun's network.
- Automation:
- Sonarr (series) and Radarr (movies) monitor content availability
- Prowlarr connects to torrent indexers and handles search
- Download Flow:
- Once a match is found, the torrent is sent to qBittorrent
- Downloaded files are moved and renamed
- Jellyfin scans the new media and updates your library
- Remote Access: Tailscale lets you access Jellyfin from any device.
Create a .env file:
cp .env.sample .env
Update the values according to your setup
In docker-compose.yml, Gluetun is the network stack. Ensure:
- You have WireGuard credentials
- Port forwarding is enabled
Ensure the /media/movies and /media/shows paths are writable by the container user (usually UID 1000).
Inside qBittorrent:
- Set incoming port (synced via script)
- Enable folder-per-torrent download
- Set default path to /media/downloads or similar
Add root folders: /media/movies (Radarr), /media/shows (Sonarr)
Set download clients: qbittorrent with /media/downloads as base path
Configure indexers in Prowlarr
PRs and suggestions welcome! This project is designed to be modular and self-hosted.
- Optional FileBot integration
- Web dashboard for monitoring/downloads/configuration
- Telegram or Discord notifications
- DNS setup for global access through the web
- User management
- Various security/performance improvements
- Support other VPN providers (ProtonVPN is currently hardcoded)