Transmission CentOS 7 connection refused

Transmission CentOS 7 connection refused

Удаляем все что внутри val/lib/transmission да бы восстановить дефолтный конфиг или удаляем settings.json

В конфиге после 127.0.0.1 прописываем через запятую свой IP

Разрешаем доступ к web панели через iptables

sudo iptables -I INPUT -p tcp --dport 9091 --syn -j ACCEPT
service iptables save
chkconfig iptables on
iptables -A INPUT -m state --state RELATED,ESTABLISHED -p udp --dport 51413 -j ACCEPT
iptables -A OUTPUT -p udp --sport 51413 -j ACCEPT

Пробуем коннектиться через transmission без юзера и пароля
Потом можно создать юзера через ISP manager и прописать его в конифге settings.json

Инфа по конфигу
https://github.com/transmission/transmission/wiki/Editing-Configuration-Files

Конфиг

{
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": true,
    "blocklist-url": "http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz",
    "cache-size-mb": 128,
    "dht-enabled": true,
    "download-dir": "/var/lib/transmission/Downloads",
    "download-queue-enabled": true,
    "download-queue-size": 25,
    "encryption": 1,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/var/lib/transmission/Downloads",
    "incomplete-dir-enabled": false,
    "lpd-enabled": false, #################​Local Peer Discovery (LPD).
    "message-level": 1,
    "peer-congestion-algorithm": "",
    "peer-id-ttl-hours": 6,
    "peer-limit-global": 1000,
    "peer-limit-per-torrent": 50,
    "peer-port": 51413,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 10000,
    "peer-port-random-on-start": false,
    "peer-socket-tos": "default",
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "prefetch-enabled": true,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 2,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "7Z1h32fg2p5jhi6",
    "rpc-port": 9091,
    "rpc-url": "/tram/",
    "rpc-username": "tram",
    "rpc-whitelist": "127.0.0.1,45.173.6.180",
    "rpc-whitelist-enabled": true,
    "scrape-paused-torrents-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "seed-queue-enabled": false, 
    "seed-queue-size": 10,
    "speed-limit-down": 100000,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 1000, ########These values are configured in kB/s, so my upload is equivalent to 10 mbit/s. 
    "speed-limit-up-enabled": true,
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 0, ########## 777 chown rights
    "upload-slots-per-torrent": 14,
    "watch-dir": "/var/www/host/data/www/mysite.ru/files_transmission",
    "watch-dir-enabled": true,
    "utp-enabled": true
}

Если у вас по прежнему ошибка, пробуйте выставить в конфиге
«umask»: 2,

Обновлено: 21/11/2017 — 16:06

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *