Transmission torrent client on FreeBSD 10.1

1. Introduction

Torrent client installation on a FreeBSD 10.1 server.

2. Installation

Install transmission :

pkg install transmission-daemon

3. Configuration

3.1 Transmission

Starting the server will generate the configuration files that we’ll edit later. We use “one start” instead of “start” because we did not add transmission to the “/etc/rc.conf” yet.

service transmission onestart

Stopping the service to edit the configuration file :

service transmission onestop

Edit the configuration :

vi /usr/local/etc/transmission/home/settings.json

For safety, on this setup, I don’t rely on a login/password system. Indeed, the transmission service will listen exclusively on the VPN interface, from where all the clients are allowed to access.
Do not change the “destination folder” here, do it from the web interface.

"rpc-bind-address": "",
"rpc-whitelist-enabled": false,

You can check your configuration by starting/stopping temporary the service with the following commands :

service transmission onestart
service transmission onestop

Once the configuration is done, we can enable the automatic start :

vi /etc/rc.conf

Add these lines :


Change the destination folder from the web interface.
Transmission screenshot

3.2 Firewall (PF)

To open the port :

vi /etc/pf.conf

Add these lines :

# ---- TRANSMISSION ---- #
pass in on $ext_if proto tcp from any to $ext_if port 51413

Transmission screenshot

6 thoughts on “Transmission torrent client on FreeBSD 10.1”

  1. Hi,

    Thank you very much for this great tutorial, it’s the best I found.

    I just have one concern: when I use the default download folder, I only have 20Gb of disk space (I use a 500Gb HDD).

    I would love to change it, but with ZFS, I am totally lost at which directory I should and how. Would you mind elaborating that point, please?

  2. I don’t know if this counts for FreeBSD 10.x, but on 11.x and 12.x if you start transmission it will log two error lines in /var/log/messages, containing:

    UDP Failed to set receive buffer: No buffer space available
    UDP Failed to set receive buffer: requested 4194304, got 42080

    To fix this you need to add the following two lines to /etc/sysctl.conf:


    This will let transmission start without errors in the messages log file.

  3. Another thing, if you use a different directory for downloads, or even a separate mounted disk, you need to set the permissions correctly. And add the transmission user and probably your normal user to the transmission group.

  4. Don’t explain nothing… ¿?
    2. Installation… “service transmission onestart” WTF ???

Leave a Reply

Your email address will not be published. Required fields are marked *