How to organize a double proxy?

Hello. There is such task.
There is a list of proxies (it is constantly changing and the number ranges from 100 to 200)
The server is constantly plugged in (even if his IP address will be, for clarity of the example below).
Need, when referring to a server port from a remote machine was taken to the ordinal number of proxies from a text file and therefore the connection passes through this proxy. Ie in fact, if everything is simplified it should go like
Proxy list:

We are from a remote machine connects to the proxy port and the connection through
accordingly: -> ->
September 19th 19 at 13:09
0 answer

Find more questions by tags Proxy