From f06462a85ef41dac50a4d4b751cf650a636109d9 Mon Sep 17 00:00:00 2001 From: Soul Trace Date: Sun, 7 Mar 2021 14:56:20 +0300 Subject: [PATCH] I'm using qbittorrent-nox together with VPN connection and so I set Connection\Interface=tun0 and Connection\InterfaceAddress=10.8.0.2, and binding worked when qbittorrent-nox was started from root session, but binding failed under dedicated user, so I got CAP_NET_RAW is necessary for this scenario --- ...UI-only---systemd-service-setup,-Ubuntu-15.04-or-newer).md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Running-qBittorrent-without-X-server-(WebUI-only---systemd-service-setup,-Ubuntu-15.04-or-newer).md b/Running-qBittorrent-without-X-server-(WebUI-only---systemd-service-setup,-Ubuntu-15.04-or-newer).md index f56162d..19018c0 100644 --- a/Running-qBittorrent-without-X-server-(WebUI-only---systemd-service-setup,-Ubuntu-15.04-or-newer).md +++ b/Running-qBittorrent-without-X-server-(WebUI-only---systemd-service-setup,-Ubuntu-15.04-or-newer).md @@ -109,7 +109,9 @@ User=qbtuser ExecStart=/usr/bin/qbittorrent-nox # uncomment this for versions of qBittorrent < 4.2.0 to set the maximum number of open files to unlimited #LimitNOFILE=infinity - +# uncomment this to use "Network interface" and/or "Optional IP address to bind to" options +# without this binding will fail and qBittorrent's traffic will go through the default route +# AmbientCapabilities=CAP_NET_RAW [Install] WantedBy=multi-user.target ```