Sign in with
Sign up | Sign in
Your question

Disabling process using specific network connection

Tags:
  • LAN
  • Networking
  • Internet Connection
  • Network Connection
  • Firewalls
  • Modem
  • Permissions
Last response: in Networking
Share
September 9, 2014 9:54:11 AM

Hello i have two internet connection, LAN and 3G modem, and i want to disable only one process using LAN connection, so he can use only 3G modem. I don't know why, but even when i disable it in firewall it's still using LAN.
Have you any clue how to do it? Maybe any third party program?

More about : disabling process specific network connection

September 9, 2014 10:20:18 AM

ce7ec said:
Hello i have two internet connection, LAN and 3G modem, and i want to disable only one process using LAN connection, so he can use only 3G modem. I don't know why, but even when i disable it in firewall it's still using LAN.
Have you any clue how to do it? Maybe any third party program?


You need to change the IP routing table in Windows. In Linux, this is trivial to do. In Windows there appears to be a way to add static routes: http://technet.microsoft.com/en-us/library/cc757323(v=ws.10).aspx
m
0
l
September 9, 2014 10:26:23 AM

onichikun said:
ce7ec said:
Hello i have two internet connection, LAN and 3G modem, and i want to disable only one process using LAN connection, so he can use only 3G modem. I don't know why, but even when i disable it in firewall it's still using LAN.
Have you any clue how to do it? Maybe any third party program?


You need to change the IP routing table in Windows. In Linux, this is trivial to do. In Windows there appears to be a way to add static routes: http://technet.microsoft.com/en-us/library/cc757323(v=ws.10).aspx


Can i disable using LAN connection only for one process?
m
0
l
Related resources
September 9, 2014 10:29:19 AM

ce7ec said:
onichikun said:
ce7ec said:
Hello i have two internet connection, LAN and 3G modem, and i want to disable only one process using LAN connection, so he can use only 3G modem. I don't know why, but even when i disable it in firewall it's still using LAN.
Have you any clue how to do it? Maybe any third party program?


You need to change the IP routing table in Windows. In Linux, this is trivial to do. In Windows there appears to be a way to add static routes: http://technet.microsoft.com/en-us/library/cc757323(v=ws.10).aspx


Can i disable using LAN connection only for one process?


I have not heard of a method on a per-process basis unfortunately. The Windows TCP/IP stack doesn't really look at which process the traffic is coming from to determine which interface to use. There may be a way to do it via a filter driver, so there may be a product out there that can accomplish this, but none that I have heard of.

If you can run the process inside of a virtual machine, you can setup a virtual adapter and restrict the network traffic that way.

m
0
l
September 9, 2014 10:37:57 AM

onichikun said:
ce7ec said:
onichikun said:
ce7ec said:
Hello i have two internet connection, LAN and 3G modem, and i want to disable only one process using LAN connection, so he can use only 3G modem. I don't know why, but even when i disable it in firewall it's still using LAN.
Have you any clue how to do it? Maybe any third party program?


You need to change the IP routing table in Windows. In Linux, this is trivial to do. In Windows there appears to be a way to add static routes: http://technet.microsoft.com/en-us/library/cc757323(v=ws.10).aspx


Can i disable using LAN connection only for one process?


I have not heard of a method on a per-process basis unfortunately. The Windows TCP/IP stack doesn't really look at which process the traffic is coming from to determine which interface to use. There may be a way to do it via a filter driver, so there may be a product out there that can accomplish this, but none that I have heard of.

If you can run the process inside of a virtual machine, you can setup a virtual adapter and restrict the network traffic that way.



Okay. No way to do it automaticly. So i need to close everything and disable lan connection and than start only game.
m
0
l
September 9, 2014 11:26:31 AM

ce7ec said:
onichikun said:
ce7ec said:
onichikun said:
ce7ec said:
Hello i have two internet connection, LAN and 3G modem, and i want to disable only one process using LAN connection, so he can use only 3G modem. I don't know why, but even when i disable it in firewall it's still using LAN.
Have you any clue how to do it? Maybe any third party program?


You need to change the IP routing table in Windows. In Linux, this is trivial to do. In Windows there appears to be a way to add static routes: http://technet.microsoft.com/en-us/library/cc757323(v=ws.10).aspx


Can i disable using LAN connection only for one process?


I have not heard of a method on a per-process basis unfortunately. The Windows TCP/IP stack doesn't really look at which process the traffic is coming from to determine which interface to use. There may be a way to do it via a filter driver, so there may be a product out there that can accomplish this, but none that I have heard of.

If you can run the process inside of a virtual machine, you can setup a virtual adapter and restrict the network traffic that way.



Okay. No way to do it automaticly. So i need to close everything and disable lan connection and than start only game.


If you are trying to make sure a game only uses a specific adapter, then you should be able to do it using the static routes. Just find out the server addresses for the game server, and set the specific routes for the interface you want to use. What game is it? I may be able to tell you the routes you need to specify.
m
0
l
September 9, 2014 11:41:14 AM

onichikun said:
ce7ec said:
onichikun said:
ce7ec said:
onichikun said:
ce7ec said:
Hello i have two internet connection, LAN and 3G modem, and i want to disable only one process using LAN connection, so he can use only 3G modem. I don't know why, but even when i disable it in firewall it's still using LAN.
Have you any clue how to do it? Maybe any third party program?


You need to change the IP routing table in Windows. In Linux, this is trivial to do. In Windows there appears to be a way to add static routes: http://technet.microsoft.com/en-us/library/cc757323(v=ws.10).aspx


Can i disable using LAN connection only for one process?


I have not heard of a method on a per-process basis unfortunately. The Windows TCP/IP stack doesn't really look at which process the traffic is coming from to determine which interface to use. There may be a way to do it via a filter driver, so there may be a product out there that can accomplish this, but none that I have heard of.

If you can run the process inside of a virtual machine, you can setup a virtual adapter and restrict the network traffic that way.



Okay. No way to do it automaticly. So i need to close everything and disable lan connection and than start only game.


If you are trying to make sure a game only uses a specific adapter, then you should be able to do it using the static routes. Just find out the server addresses for the game server, and set the specific routes for the interface you want to use. What game is it? I may be able to tell you the routes you need to specify.


Counter-Strike: Global Offensive. (Source engine) I need it for Leagues and tournaments.
m
0
l
September 9, 2014 12:06:27 PM

Darn, I was hoping it was a game with static world server addresses.There is a program called ForceBind that uses DLL injection, but CS:GO may detect it as cheating since it uses DLL injection.

I am trying to think of a better way to do this....
m
0
l
September 9, 2014 12:07:52 PM

onichikun said:
Darn, I was hoping it was a game with static world server addresses.There is a program called ForceBind that uses DLL injection, but CS:GO may detect it as cheating since it uses DLL injection.

I am trying to think of a better way to do this....


Okay. Thanks
m
0
l
September 9, 2014 12:07:52 PM

onichikun said:
Darn, I was hoping it was a game with static world server addresses.There is a program called ForceBind that uses DLL injection, but CS:GO may detect it as cheating since it uses DLL injection.

I am trying to think of a better way to do this....


Okay. Thanks
m
0
l
!