transmission: last fixes

This commit is contained in:
Ingolf Wagner 2020-03-18 11:21:02 +08:00
parent 2059de435a
commit 6220e229e4
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

@ -3,8 +3,6 @@ let
hostAddress = "192.168.100.30";
containerAddress = "192.168.100.31";
vpnRemoteAddress = "83.97.23.53";
vpnRemotePort = "1194";
in {
@ -66,6 +64,38 @@ in {
umask = "002";
rpc-whitelist-enabled = false;
rpc-host-whitelist-enabled = false;
# "normal" speed limits
speed-limit-down-enabled = true;
speed-limit-down = 200;
speed-limit-up-enabled = true;
speed-limit-up = 50;
upload-slots-per-torrent = 8;
# Queuing
# When true, Transmission will only download
# download-queue-size non-stalled torrents at once.
download-queue-enabled = true;
download-queue-size = 3;
# When true, torrents that have not shared data for
# queue-stalled-minutes are treated as 'stalled'
# and are not counted against the queue-download-size
# and seed-queue-size limits.
queue-stalled-enabled = true;
queue-stalled-minutes = 60;
# When true. Transmission will only seed seed-queue-size
# non-stalled torrents at once.
seed-queue-enabled = true;
seed-queue-size = 10;
# Enable UPnP or NAT-PMP.
peer-port = 51413;
port-forwarding-enabled = false;
# Start torrents as soon as they are added
start-added-torrents = true;
};
};
@ -88,8 +118,9 @@ in {
client
dev tun
proto udp
remote ${vpnRemoteAddress} ${vpnRemotePort}
remote 152.89.163.99 1194
resolv-retry infinite
dhcp-option DNS 8.8.8.8
remote-random
nobind
tun-mtu 1500
@ -108,7 +139,6 @@ in {
auth-user-pass ${toString <secrets/transmission/nordvpn.txt>}
verb 3
pull
# pull-filter ignore redirect-gateway
fast-io
cipher AES-256-CBC
auth SHA512