Is there Web cache proxy which connects as a network bridge so it intercepts GET requests from client and redirects them to other Web server? (Without having to configure clients to use the proxy)
Client _________________
\ | |
Client--- Network--- |eth0 Proxy eth1|--- Internet
/ |_________________| \
Client \____________
| Web cache |
|____________|
Thanks.
Squid can do it. By default it would proxy it to the actual web-server but you can always configure it to route things elsewhere.
You try to setup transparent proxying to the "web cache" if you are using Linux you can do something like this:
On your "eth0 Proxy eth1" box:
Then on "Web cache" box:
The example above use policy routing. We mark all packages with destination port 80 and not from the web-cache-box with "3", when it's time for a routing decision we have added a rule telling packages with mark "3" should go to table "2" and in table "2" we set a default gateway which is the "web-cache". When package comes to the "web-cache" the packet is redirected to the Squid/XX port and in my example 3128. All this without rewriting/NATing.
etc.