Geff
2004-04-29 20:44:13 UTC
All,
I've done quite a bit of reading looking for config options to do what I want
and I haven't found anything. Do any of you know if something like this can be
done, or if I should try to write "hack/patch". If nothing exists, would anyone
find this feature useful? What module would be the best place for this type of
feature?
Given a proxy server with 4 IPs:
A - VirtualHost1
B - VirtualHost2
C - SourceIP1
D - SourceIP2
And two destination servers:
E - Dest1
F - Dest2
And given a proxy config that listens on A and B and proxies to E and F, I would
like the connection to the destination servers (E & F) to be placed from IPs C
and D respectfully. Is that possible?
I guess what I'm looking for is a ProxyPass directive that allows me to specify
the source IP to use when connecting to the remote server.
So perhaps a table of what we desire:
ProxyVirtualHostIP ProxySourceIP DestinationServer
A C E
B D F
Does an option like this exist? Would it be best implemented in mod_proxy or is
there another module that takes care of IP connections with other hosts that
could be used? We would like to use it so that we may source route certain
requests over different firewalls. So think about 3 sites: gold, silver,
bronze. Where all would share one set of RPs, but not the same set of
firewall/router infrastructure. So the routers would do source based routing
and direct the traffic through the proper firewall. I'm sure many of you think
this is as much overkill as I do. :) You know how that goes....
Thanks for your help and help,
Geff
I've done quite a bit of reading looking for config options to do what I want
and I haven't found anything. Do any of you know if something like this can be
done, or if I should try to write "hack/patch". If nothing exists, would anyone
find this feature useful? What module would be the best place for this type of
feature?
Given a proxy server with 4 IPs:
A - VirtualHost1
B - VirtualHost2
C - SourceIP1
D - SourceIP2
And two destination servers:
E - Dest1
F - Dest2
And given a proxy config that listens on A and B and proxies to E and F, I would
like the connection to the destination servers (E & F) to be placed from IPs C
and D respectfully. Is that possible?
I guess what I'm looking for is a ProxyPass directive that allows me to specify
the source IP to use when connecting to the remote server.
So perhaps a table of what we desire:
ProxyVirtualHostIP ProxySourceIP DestinationServer
A C E
B D F
Does an option like this exist? Would it be best implemented in mod_proxy or is
there another module that takes care of IP connections with other hosts that
could be used? We would like to use it so that we may source route certain
requests over different firewalls. So think about 3 sites: gold, silver,
bronze. Where all would share one set of RPs, but not the same set of
firewall/router infrastructure. So the routers would do source based routing
and direct the traffic through the proper firewall. I'm sure many of you think
this is as much overkill as I do. :) You know how that goes....
Thanks for your help and help,
Geff