transmission-web settings do not work

Maciej Milewski milu at dat.pl
Fri Nov 20 10:04:35 UTC 2009


Dnia piątek 20 listopad 2009 o 10:10:03 Laszlo Nagy napisał(a):
> transmission_enable="YES"
> transmission_flags=" -a 192.168.0.1 "
> transmission_download_dir="/download"
> 
> Other settings are the defaults. Then I do this:
> 
> vm01# mkdir -p /download
> vm01# chown -R transmission:transmission /download
> vm01# /usr/local/etc/rc.d/transmission start
> Starting transmission.
> vm01# ps axww | grep transm
> 8963  ??  SsJ    0:00.00 /usr/local/bin/transmission-daemon -g
> /usr/local/etc/transmission/home -a 192.168.0.1 -w /download
> 
> My problem: cannot use web UI from outside. Here is the error I get:
> > Unauthorized IP Address.
From transmission manual:
     -a --allowed x.x.x.x,...
             Allow RPC access to a comma-delimited whitelist of IP addresses.
             Wildcards can be specified in an address by using '*'.  Default:
             "127.0.0.1" Example: "127.0.0.*,192.168.1.*"

So by settings this flag you are allowing only IP 192.168.0.1.
> However, it is useless to change "rpc-whitelist-enable" to "false" in
> the ~transmission/settings.json file. I can even delete it. It doesn't
> matter. Anytime I start transmission-daemon, it ignores all the
> settings. Then, if I stop it, it dumps out the default settings again to
> settings.json.
> régi settings.json-t.
> 
> When starting up transmission-daemon, it doesn't tell anything about not
> found config file, cannot read or parse it etc.

Try this way:
remove that flag, turn off transmission-daemon, change settings.json and then 
start transmission-daemon. 

-- 
Best Regards,
Maciej Milewski


More information about the freebsd-questions mailing list