'Select which network source is used by app

Would it be possible to manage which network source is used by a process? For example Google Chrome would use Network 1 (ethernet), and Discord Network2 (from USB slot, for example from connected phone). Do you know if there is any existing software that allows it, or it is not possible to achieve? And if you were going to to create one, how would you start?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source