Transmission Command-Line Interface
Open iptables
firewall for input on 51413/tcp
and 51413/udp
:
1 | iptables -A INPUT -p tcp --dport 51413 -j ACCEPT |
Install the Transmission command-line interface and the Transmission systemd daemon:
1 | apt update && apt upgrade |
Stop the Transmission daemon prior to changing the Transmission settings:
1 | systemctl stop transmission-daemon |
Edit the Transmission daemon settings file:
1 | vi /etc/transmission-daemon/settings.json |
Allow the transmission-remote
command to be issued from localhost only:
1 | "rpc-authentication-required": false, |
Limit the upload speed and the download speed to 1,000 kBytes per second in each case:
1 | "speed-limit-down": 1000, |
Save the settings file, then restart the Transmission daemon with the new settings:
1 | systemctl start transmission-daemon |
Check that the transmission-remote
command now works by using it with the -l
for “list” option:
1 | transmission-remote -l |
When you start torrenting, your downloads will appear in the /var/lib/transmission-daemon/downloads
directory.