0

Is there a way to make an application send packets to different address than one it selects by default, Right now i disable all other network adapters then i start the application and then it chooses the one i want, I tried ForceBindIP but the application has protection against dll injection. So is there another way to do this?

6
  • Rin it from a vm with a real NIC assigned to the VM? Also, why are you trying this? Usually an application does not control this. The network stack does (OS wide), and there you can control your routing table.
    – Hennes
    Apr 8, 2016 at 10:55
  • @Hennes: Well, there are quite a few apps which use bind(3) to choose the source address. Meanwhile, on both Windows and Linux the routing table only chooses the destination (although Linux has "policy routing" for selecting a preferred source). Apr 8, 2016 at 11:15
  • @Hennes I need this for a game over openvpn.
    – Warix3
    Apr 8, 2016 at 11:46
  • @Hennes also , I can't use VM, just a batch script, because my friends need this too, and it would be too complicated to install vm's on their computers, i'm looking for a simpler solution, forcebindip is simple but unfortunately it doesn't work on this game , because it's protected by steam.
    – Warix3
    Apr 8, 2016 at 11:49
  • @grawity is there a way to set a default nic? So the game chooses that one.
    – Warix3
    Apr 8, 2016 at 12:05

0

You must log in to answer this question.

Browse other questions tagged .