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: 188.8.131.52 - 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 184.108.40.206:8080 as a proxy, and all firefox traffic comes out as 220.127.116.11.
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 18.104.22.168
I have also tried running 5 different apaches, each binding to its own interface only, but that still sends the outbound request through 22.214.171.124.
I was hoping to get it to work as follows:
I connect to 126.96.36.199 and make a proxy request, and it goes out as 188.8.131.52.
I connect to 184.108.40.206 and make a proxy request, and it goes out as 220.127.116.11.
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.