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

Soul Trace
2021-03-07 14:56:20 +03:00
parent 189f236b94
commit f06462a85e

@@ -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
```