I am on a mac and I have wifi and data network card interfaces configured to access the internet on my machine.

I want to route all torrent traffic over the wifi interface and browsing traffic over the data network card interface.

I can add a route and route all of the traffic using

sudo  route change -net -gateway ip.addr

How do I force only the torrent traffic to fall on one specific interface?

migrated from stackoverflow.com Dec 25 '12 at 16:19

This question came from our site for professional and enthusiast programmers.

  • I don't think you can do this. Routing decisions are done simply by looking up the destination address in the routing table, and are independent of the application. – Barmar Dec 25 '12 at 8:35
  • You need to clear up what you want a bit more. All "internet traffic" would include "browsing traffic" if you are talking about browsing web sites with a web browser. – Bon Gart Dec 25 '12 at 16:22
  • i meant torrent traffic .. i edited the post. Sorry about that – Pavan K Dec 26 '12 at 8:19

you need a proxy server or a port forwarding rule in your firewall.. and set the port in the torrent client.

Problem is that i have no clue how to do this on mac.. sorry

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.