mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 22:52:33 -06:00
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
4
Running-qBittorrent-without-X-server-(WebUI-only---systemd-service-setup,-Ubuntu-15.04-or-newer).md
4
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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user