Force Application To Use A Specific Network Card [Win]

Introduction

My computer motherboard is a dual network card, plus one is connected to the telecommunications network, and the other is a mobile network.
But sometimes there is a trouble I would like to assign a specific network for certain application, so I have this article!

Install ForceBindIP

Download and install, and get a copy of the compressed version from the download link at the bottom of this article!

Force Application To Use A Specific Network Card [Win]

Once the download is complete, extract the contents of the zip file.

You will need to copy both files.

Then paste them in:

C:\ Windows \ System32

Now press the Win+R keyboard combination, type cmd in the run box, and press Enter.

When the command prompt opens, run the following commands:

cd C:\ Windows \ System32

Now we can bind the application to the network adapter to execute the following types:
ForceBindIP %NetworkCardsIP% %PathToProgram%

For example:
ForceBindIP 127.0.0.1 “C:\Program Files(x86)\Mozilla Firefox\firefox.exe”

Or Command Example Network Card Guid

"C:\ForceBindIP-1.32\ForceBindIP64.exe" {F8xxxF66-2E45-xxxx-xxxx-9CE6xxxC2A32} "C:\Program Files(x86)\Microsoft\Edge\Application\msedge.exe"

Or Command example network card corresponding ip

"C:\ForceBindIP-1.32\ForceBindIP64.exe" 192.168.0.11 "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"

Example:

  • The IP of the network card you want to bind your application to is 127.0.0.1
  • The program you want to bind to that network card is Firefox.

Notes:

  • You must give the full path to the program.
  • If the path contains spaces, enclose it in quotation marks.
  • Every time you want to bind a program to this network card, you must start the program through this method.

Download link

Website: https://r1ch.net/projects/forcebindip

ForceBindIP-1.32-Setup.exe (101 KiB). Setup with uninstaller.

ForceBindIP-1.32.zip (42 KiB). Zip file for manual installation. The ForceBindIP EXE and and BindIP DLL files must be placed in the same folder.

References:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: