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

    route all traffic from one source, one port through wireguard

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 479 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.
    • M
      menethoran
      last edited by

      Hey folks, got my wireguard up and running (as best i can tell :) )
      Now i'd like to send all traffic from one application (transmission) through wireguard. Is this possible? My transmission instance will exist on my network at a specific IP address (192.168.2.2) (id run the entire IP through wireguard, but it hosts a bunch of other services and i do not feel like figuring out the tunneling needed for those other services :) yet...

      I know that transmission runs through port 10109, 51514 and 51413.
      (its built with a kubernetes pod and has the ability to use wireguard, but calls for a specific ovpn or conf file for wireguard to call on(im familiar with openvpn and the use of an ovpn file, but not with wireguard, so, figured id do it on the PfSense instead of NAS if i can

      any pointers would be greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • B
        BossaOps
        last edited by

        I won't give you instructions, and read up on the subject a bit, but you can set up a firewall rule that will pass the traffic on that interface, and under the Advanced tab, you can select the gateway (use the Wireguard one) to enable policy based routing.

        M 1 Reply Last reply Reply Quote 1
        • M
          menethoran @BossaOps
          last edited by

          @bossaops thanks for the input. I actually did read up (and not just a little :) )

          Got it all working.

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