Torrent Boxes

Building a seed or torrent box.

  • A virtual server, 1 CPU and 1 G RAM works fine and Ubuntu OS to makes it easy
  • UFW to control access
  • NFS to save your files (if you're using central file storage)
  • Transmission to do the work
  • OpenVPN and a service like PIA
Install OS

Enable UFW and configure access
  sudo ufw allow from xxx
  sudo ufw allow in on tun0

Connect NFS
  sudo mkdir -p /srv/torrent/public/
  sudo apt install nfs-common
  sudo vim /etc/fstab  /srv/torrent/public      nfs     auto,noatime,nolock     0 0
  sudo mount /srv/torrent/public

Install and configure Transmission
  sudo apt install transmission-daemon
  sudo service transmission-daemon stop
  sudo cp settings.json /etc/transmission-daemon/settings.json

Install OpenVPN and configure PIA
      ( )
      ( Optionally check out as an alternative to update-resolve-conf)
  edit CA and append:
    auth-user-pass pass.txt
    script-security 2
    up /etc/openvpn/update-resolv-conf
    down /etc/openvpn/update-resolv-conf
  copy pass.txt to the same /etc/openvpn directory and chmod 600
  Test with 
    sudo openvpn CA\ Toronto.ovpn


Pia server unresolved - see DNS