Welcome to safe-transmission, the ultimate fusion of security and torrenting, designed for the gritty streets of the cyberpunk future. This Docker image mashes together OpenVPN, Transmission, and Nginx, creating a fortified fortress for your torrent traffic. With built-in optional rate-limited HTTP basic authentication, you can fend off those pesky netrunners, and optional VPN routing ensures your tracks are covered.
- Transmission: The sleek, shadowy BitTorrent client that gets the job done.
- OpenVPN: Encrypt your torrent traffic, because Big Brother is always watching.
- Nginx: Proxy your Transmission web interface with a layer of security that laughs in the face of script kiddies. (Rate-limited Basic Auth)
- Alpine Linux: Small, efficient, and secure, just like a well-oiled cyberarm.
- Supported architectures: linux/amd64, linux/arm64 (yes, it works on a arm Raspberry Pi)
- Docker installed on your rig.
- A VPN configuration file (
.ovpn
) and optionally an authentication file.
Dive into the matrix with psyb0t/safe-transmission
:
-
Jack into the image from Docker Hub:
docker pull psyb0t/safe-transmission:latest
-
Fire up the container:
docker run --cap-add=NET_ADMIN --rm \ -e USERNAME=your_username \ -e PASSWORD=your_password \ -e WITH_OPENVPN=true \ -e ENV_PUID=1000 \ -e ENV_PGID=1000 \ -e ENV_TZ=Etc/UTC \ -v /path/to/config.ovpn:/vpn-config.ovpn \ -v /path/to/auth.txt:/vpn-auth.txt \ -v /path/to/config:/config \ -v /path/to/downloads:/downloads \ -v /path/to/watch:/watch \ -p 8080:80 \ psyb0t/safe-transmission:latest
Replace /path/to/config.ovpn
, /path/to/auth.txt
, /path/to/downloads
, and /path/to/watch
with your actual directories. Change your_username
and your_password
to your credentials. Keep those secrets close.
Environment Variables:
PUID
: User ID. Default:1000
.PGID
: Group ID. Default:1000
.TZ
: Time zone. Default:Etc/UTC
.USERNAME
: Your chosen handle for HTTP basic authentication. Leaving this empty will disable authentication.PASSWORD
: Your password. Make it strong, netrunner. Leaving this empty will disable authentication.WITH_OPENVPN
: Set totrue
to route traffic through a VPN. Default:false
.
/vpn-config.ovpn
: The secret tunnel info./vpn-auth.txt
: The password allowing you to go through the tunnel./config
: Where the transmission config files live./downloads
: Your download stash./watch
: Auto-add torrents from this directory.
80
: Nginx proxy for the Transmission web interface.
Want to deploy like a pro? Check this out:
version: "3.8"
services:
safe-transmission:
image: psyb0t/safe-transmission:latest
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- WITH_OPENVPN=true
- USERNAME=your_username
- PASSWORD=your_password
ports:
- "8080:80"
volumes:
- ./openvpn/config.ovpn:/vpn-config.ovpn
- ./openvpn/auth.txt:/vpn-auth.txt
- ./config:/config
- ./downloads:/downloads
- ./watch:/watch
restart: always
- Keep your
.ovpn
and.txt
files secure. Think of them as your digital katana and trench coat. - Strong passwords, always. We're not in Kansas anymore.
With safe-transmission, you're ready to take on the dystopian digital future. Torrent safely, securely, and always stay one step ahead of the corpos and their surveillance.
Remember, the internet is vast and infinite. Happy torrenting, console cowboy!
This project is licensed under the WTFPL. Do what the fuck you want.
Don't forget to star this repo if you dig it. Welcome to the future, choom.