Status
Brak możliwości dodawania odpowiedzi.

Silas Mariusz

rm -rf /
Help us, GOD!
5 Kwiecień 2008
10 437
2 641
405
Odznaki
205
Nowy Sącz
forum.qnap.net.pl
QNAP
TS-x77
Ethernet
1 GbE
Poz.
6
 
Symptoms
  • The VPN tunnel on your NAS dropped or reconnected while torrents were running.
  • On the Dashboard, the tunnel shows address unavailable, or rtorrent is stopped.


Cause
Rtorrent 16 does not monitor the VPN itself. Your address is protected by two settings: the binding and the kill-switch. When rtorrent is bound to the tunnel by name in Bind to interface / IP, it connects to peers, DHT and trackers from the tunnel's address. If the tunnel has no IPv6 address, rtorrent blocks IPv6 completely. The kill-switch checks the tunnel's address every five minutes. When the address is gone, it stops rtorrent and does not start it again while the address is missing. It starts rtorrent again at the first check that finds the address back for at least Wait after tunnel recovery (seconds), 30 seconds by default. Without the kill-switch, nothing stops rtorrent while the tunnel has no address, and a start at that moment, for example after the NAS restarts, puts rtorrent on all interfaces.


Resolution
  1. Bind rtorrent to the tunnel by name. Open Settings → Connection, press Choose… next to Bind to interface / IP, then press Use this interface on the tunnel's row. An IP address typed in this field does not follow a new tunnel address and does not turn on the kill-switch.
    b9-bind-en.webp
  2. Check the kill-switch. In Settings → Port forwarding & VPN, Kill-switch: stop rtorrent when the bound interface has no address turns on when you choose an interface by name. Leave it on.
    b9-killswitch-en.webp
  3. Press Review & save and confirm the changes. Then press Apply now to restart rtorrent.
  4. Check the result on the Dashboard. In the Network card, Bind shows the tunnel and its address, and IPv6 reads blocked for a tunnel without IPv6. The Services card shows the tunnel with its address and … · kill-switch.


Notice & Advise
  • Up to five minutes can pass between two checks of the kill-switch. It watches the tunnel's address only, not whether the VPN works.
  • QTS looks up names through all its DNS servers at once, including those of your LAN. Tracker names are therefore also looked up outside the tunnel. The torrent traffic itself goes through the tunnel.


Ref. links:
Rtorrent 16 guide: Ports
 
Status
Brak możliwości dodawania odpowiedzi.