We use a service that allots us X number of requests per IP and has allows us to setup 5 IPs with such a limit (I know.. it seems stupid they could not just up the limit 5x on one IP).
Pretend I have a linux box with the following address on the internet: 22.214.171.124 - that is an Google IP and not mine... so feel free to try to hack into it :)
I setup apache+mod_proxy as a forwarding proxy (ProxyRequests On). i.e. you can setup firefox to use 126.96.36.199:8080 as a proxy, and all firefox traffic comes out as 188.8.131.52.
So far so good.
Now I add more alias interfaces so the total looks like this:
I run apache+mod_proxy (single apache instance) which binds to all interfaces, but no matter which address I connect to use the forwarding proxy, all traffic goes out to the internet as 184.108.40.206
I have also tried running 5 different apaches, each binding to its own interface only, but that still sends the outbound request through 220.127.116.11.
I was hoping to get it to work as follows:
I connect to 18.104.22.168 and make a proxy request, and it goes out as 22.214.171.124.
I connect to 126.96.36.199 and make a proxy request, and it goes out as 188.8.131.52.
Has anyone else had to deal with this issue? The fall back solution would be to just run apache on 5 separate boxes, but I would prefer it to all work on one box.