Linux routing fun

Thomas Charron twaffle at gmail.com
Tue Oct 9 13:40:38 EDT 2007


On 10/9/07, Brian <brk-gnhlug at karas.net> wrote:
> I am trying to setup an apache proxy server on about 100 IP's, where
> any one of those IP's can accept an http proxy connection from a
> remote user.
> I got a simple apache proxy setup, and it can accept connections on
> one of several IP's (I've setup about 10 of the IP's for now on
> eth1:2 - eth1:10).
> However, all the outbound connections seem to originate from the
> lowest numbered IP on the /28 subnet.  I'd like the outbound
> connections to originate from the IP address that was used for the
> proxy.  Ie you can connect to 10.1.1.1 or 10.1.1.2 or 10.1.1.3 for an
> http proxy connection, but your IP address will appear to the remote
> server as 11.1.1.1 (with the 10. net being used for example to
> represent the class c subnet, and 11.x.x.x used to represent the /28).

ProxySourceAddress is the name of the option for mod_proxy that you're
looking for.

Not sure if it's in current head, but here's where it was submitted:

http://issues.apache.org/bugzilla/show_bug.cgi?id=29404

-- 
-- Thomas


More information about the gnhlug-discuss mailing list