What's new

Using VPN Director to route only torrent traffic through VPN

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

goldnet

Occasional Visitor
Hello,

My goal is to have ONLY qBittorent traffic directed through a VPN using RT-AX88U Pro.

All the pieces seem to be in place but none of the torrent traffic is going to the VPN.

Here's the set it up:

qBittorent bound to OpenVPN Client on PC <-> OpenVPN Server on Router <-> VPN Director <-> Wireguard client on Router <-> VPN provider

qBittorent is bound to the OpenVPN client interface connecting to an OpenVPN server on the router.
The VPN provider connection is done with Wireguard client on the router.
The VPN Director directs the traffic from the OpenVPN client

NOTE: The only reason I am using a combination of OpenVPN and Wireguard is that it seemed more obvious how to OpenVPN server than the Wireguard server and more obvious how to set up the Wireguard client than the OpenVPN client. I can switch to using either OpenVPN or Wireguard for everything.

This is the config that the router generates for the OpenVPN client that qBittorent binds to on the PC:

Code:
# Config generated by Asuswrt-Merlin 388.8, requires OpenVPN 2.4.0 or newer.
    client
    dev tun
    pull-filter ignore "redirect-gateway" # manually added
    route 172.16.0.0 255.240.0.0 vpn_gateway # manually added
    proto udp
    remote 76.169.XXX.XXX 1194
    resolv-retry infinite
    nobind
    float
    ncp-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC:AES-128-CBC:CHACHA20-POLY1305
    cipher none # manually added
    auth none # manually added
    data-ciphers none # manually added
    keepalive 15 60
    remote-cert-tls server

This seems like it ought to work but the torrent traffic doesn't go to the VPN. Also, 76.169.XXX.XXX is my WAN IP from my ISP. It is not a static IP so it seems like it shouldn't really be in here but that's how it was when the router exported the config file.

I greatly appreciate if you can share how to get it working.

flowchart-cropped-Immagine.png



RT-AX88U Pro - OpenVPN Server Advanced.png

RT-AX88U Pro - WireGuard Client.png

RT-AX88U Pro - WireGuard Client.png

RT-AX88U Pro - VPN Status.png
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Members online

Top