How to bind/assign x application to specific network adapter
Posted: Wed Jul 23, 2008 10:01 am
after lot of research and asking around, Luigi found a good site with tool that can do just that !
all i used to find in google was just crap and shit and stupid questions like: y u even need to do that, cant u just use the best connection for all ..etc.
so here's the site
http://www.r1ch.net/stuff/forcebindip/
and i also included the tool.
installation:
simply unrar and install. it will be installed into your system32 (dont be alerted)
usage:
now you can either use cmd or ''run''
how to use it thru run:
you simply click start - run
now type in the following command:
where 0.0.0.0 is the network adapter's ip (internal) - you can see it under you 'network connections' by double clicking the connection you want to use.
if the program's FULL path has spaces in it, then it has to be quated like in this example.
ah yes. and if you are stupid, ofcourse you have to put your own application path there. this is just example what i do if i wanna run my WinFTP server with it.
how to use it thru cmd:
run the command prompt window
go to the system32 folder and type in the same command:
if you are using wireless and your ip is dynamic you can also make application use specifc adapter instead of ip.
to do so:
open your regedit (start - run - type in 'regedit')
go to:
find the adapter you wanna use and copy the key. key looks something like this:
{4FA65F75-7A5F-4BCA-A3A2-59824B2F5CA0}
now use this command:
anyways there's a guide on their site too.
NOTE - this will not change any settings in your program. it will run a program for you with the binding. also make sure that you will CLOSE the application before using this tool. because if the application is already open it has no effect. for example on firefox, when your fox is running and you run it again thru the tool it will not be binded to the device. you have to totally CLOSE application and then run it. its very useful for game servers, for example if you want to play LAN thru hamachi you can simply bind it to hamachi adapter instead of all and game server should show up in other person's lan
all i used to find in google was just crap and shit and stupid questions like: y u even need to do that, cant u just use the best connection for all ..etc.
so here's the site
http://www.r1ch.net/stuff/forcebindip/
and i also included the tool.
installation:
simply unrar and install. it will be installed into your system32 (dont be alerted)
usage:
now you can either use cmd or ''run''
how to use it thru run:
you simply click start - run
now type in the following command:
Code: Select all
forcebindip 0.0.0.0 "C:\Program Files\WinFtp Server\WFTPSRV.exe"
if the program's FULL path has spaces in it, then it has to be quated like in this example.
ah yes. and if you are stupid, ofcourse you have to put your own application path there. this is just example what i do if i wanna run my WinFTP server with it.
how to use it thru cmd:
run the command prompt window
go to the system32 folder and type in the same command:
Code: Select all
forcebindip 0.0.0.0 "C:\Program Files\WinFtp Server\WFTPSRV.exe"
to do so:
open your regedit (start - run - type in 'regedit')
go to:
Code: Select all
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
{4FA65F75-7A5F-4BCA-A3A2-59824B2F5CA0}
now use this command:
Code: Select all
forcebindip {4FA65F75-7A5F-4BCA-A3A2-59824B2F5CA0} "C:\Program Files\WinFtp Server\WFTPSRV.exe"
NOTE - this will not change any settings in your program. it will run a program for you with the binding. also make sure that you will CLOSE the application before using this tool. because if the application is already open it has no effect. for example on firefox, when your fox is running and you run it again thru the tool it will not be binded to the device. you have to totally CLOSE application and then run it. its very useful for game servers, for example if you want to play LAN thru hamachi you can simply bind it to hamachi adapter instead of all and game server should show up in other person's lan