I have a scenario where I need to run several OpenVPN connections at one time and to allow a singular application to access each of these connections.
How wold I go about starting up several OpenVPN connections at one time and then uniquely connect to each one?
In my scenario I need to make requests to each of these several connections randomly for the application's network requests. I also then will be stopping and starting OpenVPN connections at minutely or every few minutes so as to obtain a fresh IP.
One of the "tricky" parts perhaps that worries me most is that I need to make sure that I do not munge up normal traffic on this server since I have about 20 IP addresses for various web sites running on it and other apps (services) running as well. I need to fire up these OpenVPN connections such that I can specifically allow this singular application to utilize these connections in a random fashion. I am not entirely sure on how I will do this such that I can identify each of the OpenVPN connections separately for usage.
I was contemplating accomplishing this via EC2 instances as I have done before, but then realized that perhaps I can work around this by establishing all of the connections on a singular server since I don't need to worry about high levels of bandwidth. From what I have read, it seems doable, but I've not yet put the details together for this and wanted to make sure I get moving in right direction before pulling up my sleeves.