Answer the question
In order to leave comments, you need to log in
How can I break the Internet connection for a specific application by pressing a button?
How can I break the Internet connection for a specific application by pressing a button? It is necessary to be able to do this with a hot key. What programs are there for this?
Answer the question
In order to leave comments, you need to log in
1. Write a BAT file that will add deny firewall rules for the application, or the ports that the application uses.
2. Create a shortcut to it.
3. Add hotkeys to the shortcut.
Do you want to break the connection to the remote server in case of "show mask" arrival? )))
More reliable - put a button to reboot the router.
And so - not enough information. At least tell in what OS you want to implement it.
If in general - parse the net stat output for connections from the program and nail them if necessary. The same .bat/.sh script. But isn't it easier to just close the program with the same script?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question