новости
Установка qbittorrent в качестве качалки на удаленке с доступом через web-морду
su
pkg update
pkg install -y qbittorrent-nox
sysrc qbittorrent_enable=YES
Сгенерируем сертификаты (вместо blabla можете подставить свой домен)
openssl req -new -rand /dev/random -x509 -nodes \
-days 365 -newkey rsa:4096 \
-keyout /var/db/qbittorrent/conf/qBittorrent/config/WebUIPrivateKey.pem \
-out /var/db/qbittorrent/conf/qBittorrent/config/WebUICertificate.crt \
-subj "/C=RU/ST=Moscow/O=blabla/CN=blabla/OU=blabla/emailAddress=info@blabla"
Важное
Предполагается что у вас ip wan то рекомендуется явно указать ip необходимые ваши ip и port (где 10.10.5.46
ip/wan и tcp/порт 8080
для доступа к web-морде )
В том числе где tcp/порт 5283
который должен быть доступен извне, можно указать иной
mkdir -p /var/db/qbittorrent/conf/qBittorrent/config
mkdir -p /var/db/qbittorrent/conf/qBittorrent/downloads
ee /var/db/qbittorrent/conf/qBittorrent/config/qBittorrent.conf
[AutoRun]
enabled=false
program=
[Core]
AutoDeleteAddedTorrentFile=IfAdded
[LegalNotice]
Accepted=true
[Preferences]
Queueing\QueueingEnabled=false
WebUI\HTTPS\CertificatePath=/var/db/qbittorrent/conf/qBittorrent/config/WebUICertificate.crt
WebUI\HTTPS\KeyPath=/var/db/qbittorrent/conf/qBittorrent/config/WebUIPrivateKey.pem
WebUI\HTTPS\Enabled=true
WebUI\Port=8080
WebUI\Address=10.10.5.46
General\Locale=ru_RU
WebUI\BanDuration=3600
WebUI\CSRFProtection=true
WebUI\ClickjackingProtection=true
WebUI\SecureCookie=true
Connection\PortRangeMin=5283
Connection\InterfaceAddress=10.10.5.46
WebUI\CSRFProtection=true
WebUI\ClickjackingProtection=true
Downloads\UseIncompleteExtension=true
Downloads\TempPathEnabled=true
Downloads\PreAllocation=true
Advanced\AnonymousMode=true
chown -R qbittorrent:qbittorrent /var/db/qbittorrent
service qbittorrent start
Доступ к web-морде
по умолчанию
login: admin
pwd: adminadmin
Безусловно рекомендуется ограничить доступ к web-морде путем firewall