route all traffic from one source, one port through wireguard
-
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 canany pointers would be greatly appreciated.
-
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.
-
@bossaops thanks for the input. I actually did read up (and not just a little :) )
Got it all working.