Pregunta

I have a client that make requests to different servers. Sometimes this servers rejects requests from my IP so I need to change it (I have a few public IPs). I also need to change my IP to make geolocalizated request. I'm trying to make a balance server to redirect the client traffic through different server and to keep a log of IPs being rejected. This is what I have in mind:

Balance server

There would be clients in different networks with different instances of the client. This instances request an output server to the balancer and then all the traffic of clients is redirected through this servers. Output servers could make a connection with the balancer with sockets to say something like "Ey, I'm here. You can use me!". Here I have a silly activity diagram (full of mistakes probably): Activity diagram

Is there a simplest way to do this? Maybe I'm reinventing the wheel. If is a good solution, is if possible to do this with Java/C#? How could I redirect the traffic?

¿Fue útil?

Solución

I think you are reinventing the wheel a little, what your describing is just a load balancer in sticky session/sticky IP mode.

There's a few open source projects that will do what you are looking for. (Each word is a link there)

Personally I'd suggest the LVS Project

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top