|
| Hello !
I have to use a chain of proxies to reach a server in an other network.
It looks like this
10.x.x.x = Client
10.2.1.1 = Proxy1 = 11.z.z.z (I have to modify this one)
11.a.a.a = Proxy2 = 12.b.b.b
12.3.1.8 = Server
Proxy1 and Proxy2 have two nic's. They have to do the routing from one
network to the other.
Proxy2 and the Server are blackboxes to me. The Client program use the
Proxy1 (10.2.1.1) and makes a simple get from Server (12.3.1.8).
But the request stops at Proxy1. I put a apache-rewrite rule the config
but as I can't reach Server directly I don't know who to tell apache to
go via Proxy2 (11.a.a.a).
<VirtualHost 10.2.1.1:80>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^12.3.1.8$
RewriteRule ^/(.*)$ https://%{HTTP_HOST}:44444/$1 [P]
</VirtualHost>
This might work, if I could reach Server by Proxy1 but I have to use
Proxy2. What rule is missing ?
Cheers, rade
|
|