Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Route FreeNAS Torrent downloads through VPN?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 995 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Dayve
      last edited by

      I hope someone can help. I have been trying to get this to work for days.

      I'm trying to route all qBittorrent downloads and couchpotato running on my FreeNAS to go through my VPN provider.

      Setup both QBittorrent and Couchpotato to have a static IP on FreeNAS. In Pfsense I have added a Alias with the IP's and called it RouteVPN.
      In Firewall Rules/LAN I have added at the top a rule to pass any and Source is single host or alias RouteVPN. In advanced I selected my Group_VPN for the gateway since I have setup three different connections to my VPN provider.

      When I start either QBittorrent or Couchpotato they will not connect. In the system logs under firewall I can see my user rule is working but I don't see anything coming back. Do I need another rule for traffic coming back in?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        No you should not need anything to allow reply traffic.

        Do those VPN connections work for other traffic? Does the gateway group?

        Try setting up a client machine to use that and test from there.

        Check the traffic is being NAT'd to the tunnel address correctly in the state table.

        Steve

        1 Reply Last reply Reply Quote 0
        • M
          marvosa
          last edited by

          We'd need more info to offer more targeted advice, but In general, you'll need to:

          • Policy route the static IP's for QBittorrent and Couchpotato on your LAN tab, which it sounds like you have done. BTW, how are these apps using different IP's on FreeNAS? Are they VIP's that are bridged to the LAN adapter? I'd like to know how these apps are communicating on the network and if they truly are sourcing traffic from the IP's you've configured.

          • Add an Outbound NAT entry for your static IP's that is configured to send matching traffic out your VPN interface

          • Verify the rules on your OpenVPN tab are explicit so the traffic you want to be routed thru the VPN isn't matched on the wrong interface.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.