I have a server (S-1) with HAProxy and a number of residential proxies (PR-s) as login-passwords-port. There're multiple users who will connect to the internet via S-1.
I want to have HAProxy to forward incomming traffic of the users via a random proxy amoung PR-s with 2 conditions:
How would I implement this?
(1) client -> HaProxy -> if keyword --> sub-proxy (random) -> website
(2) client -> HaProxy -> if no keyword --> website