Re: Different source IP for virtual hosts

Barry Treahy (maillists@abacus.terraworld.net)
Thu, 28 May 1998 10:56:57 -0500 (CDT)


I had a similar problem and finally reconfigured network so that I didn't
need the behavior, because I could find no workable solution. The only
thing that I thought might work out of the box was to do source routing.
The problem with this is the source routed frames are a security problem
and most modern hosts will not forward source routed packets. The other
alternative I was looking at was modifying the source code of ipfwadm or
ip masquerading to replace the source address to the one you desired,
since all packets already route correctly back to you this should be all
that is needed. There may be a more elegant solution, but the ip masq
mail list seems defunct and I have yet to find anyone the has better info.

jm

On Thu, 28 May 1998, Paul Wilkins wrote:

> Hi folks,
> I'm running an Apache http proxy from a virtual host. I'd like packets
> from the proxy to go out with the address of the virtual host, not the ip
> of the machine (current behaviour).
>
> The machine listens on the virtual host ip just fine, but the proxied
> requests when they come out of the machine have the source ip address of
> the machine, not of the virtual host. Any way to change this?
>
> Paul
>
> ---------------------------------------------------------------------------
>
> ,---
> Paul Wilkins | o o |
> Internet Operations Manager ` \_/ ' Linux
> TMP Worldwide /\___/\ The Choice of
> paulw@tmpw.com.au |_/ . \_| A GNU Generation
> http://www.monsterboard.com.au \_/___\_/
> ---------------------------------------------------------------------------
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.rutgers.edu
>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu