Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qbittorrent passes traffic thorugh host machine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 951
Location: Romania

PostPosted: Tue Aug 01, 2023 10:36 am    Post subject: qbittorrent passes traffic thorugh host machine Reply with quote

I have a network media player and a NAS in my lan, all providing samba shares.
I have a desktop computer that mounts the shares and runs qbittorrent.
All torrent traffic goes through the computer that runs qbittorrent.

Is there any way I can get the traffic to not go through my desktop?
_________________
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3950

PostPosted: Tue Aug 01, 2023 12:31 pm    Post subject: Reply with quote

Quote:

Is there any way I can get the traffic to not go through my desktop?


Where would you like the traffic to go through?
_________________
:)
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3939
Location: Rasi, Finland

PostPosted: Tue Aug 01, 2023 1:09 pm    Post subject: Reply with quote

You need to have client-server modeled bittorrent software for that kind of setup. net-p2p/deluge provides such for example.
Another option would be to run the whole torrent software on the NAS box and access it remotely. Years ago I did exactly that with net-p2p/rtorrent.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 951
Location: Romania

PostPosted: Tue Aug 01, 2023 10:09 pm    Post subject: Reply with quote

Zucca wrote:
You need to have client-server modeled bittorrent software for that kind of setup. net-p2p/deluge provides such for example.
Another option would be to run the whole torrent software on the NAS box and access it remotely. Years ago I did exactly that with net-p2p/rtorrent.

So no way to do it with qbittorrent.
Running the torrent software on my servers is exactly what I want to avoid, because I want all my torrents managed in one place and because I don't want to slow down my servers.
_________________
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3939
Location: Rasi, Finland

PostPosted: Wed Aug 02, 2023 5:59 pm    Post subject: Reply with quote

stefan11111 wrote:
I don't want to slow down my servers.
I think the only option is to run it on a server if you want to avoid traffic (preferably on your storage server). I know rtorrent supports moving completed downloads to an another location (storage server in this case), but you'd still see traffic from there in form of seeding... and still all the torrent traffic goes trough the server which is running the torrent software.

But I think qbittorrent supports daemon mode too.

EDIT: It seems to... https://github.com/qbittorrent/qBittorrent/wiki/Running-qBittorrent-without-X-server-(WebUI-only,-systemd-service-set-up,-Ubuntu-15.04-or-newer)

(I tried to escape those nasty characters, but that didn't work. Copy and paste.)

[Moderator edit: added explicit [url] tag to handle "those nasty characters". ;) Forum auto-linking does not work when the URL contains parentheses. -Hu]
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 951
Location: Romania

PostPosted: Wed Aug 02, 2023 9:40 pm    Post subject: Reply with quote

I have qbittorrent running in daemon mode on my desktop.
I need to be able to control it remotely, so no need to also build another bloated gui when I can just use the webui.
The binary installed is called qbittorrent-nox.
Code:
[ebuild   R    ] net-p2p/qbittorrent-4.5.4::gentoo  USE="webui -dbus -gui"

Rtorrent may be a better option, but remote control from my phone is a must.
_________________
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum