• Subject:
  • Requirements:
  • Pre-requirements:
  • The task should be considered in two parts:
  • Part 1:
  • 0. Make sure qBittorrent has the CAP_NET_RAW capability.
  • 1. Set up qBittorrent to bind to your VPN connection.
  • 2. Create an auxiliary routing table.
  • 3. Set up auxiliary routing rules:
  • 4. Filling up auxiliary routing table:
  • Part 2:
  • 0. Set up a static port for peers connections:
  • 1. Set up the OpenVPN server to forward incoming connections to the VPN client:
  • 2. Temporarily disable rp_filter:
  • 3. Disable rp_filter permanently: