Date: Mon, 26 Jul 2004 12:08:55 +0400 From: Andrew Riabtsev <resident@b-o.ru> To: "Arie Gerszt" <arie@gerszt.ch> Cc: freebsd-isp@freebsd.org Subject: Re: Apache - reverse proxy with freebsd Message-ID: <91167665580.20040726120855@b-o.ru> In-Reply-To: <000301c470ed$91015440$5b01a8c0@i8000> References: <000301c470ed$91015440$5b01a8c0@i8000>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Arie, Friday, July 23, 2004, 11:45:11 PM, you wrote: AG> Hi AG> Currently I am running a standard setup with NameBased Virtualhosts with AG> HTTP 1.1 with a couple of Vhosts. Each has the same public IP. AG> What I would like to do: AG> - assign each vhosts a unique RFC1918 internal address AG> - do some nat / reverse proxy magic on the freebsd box (the AG> webserver itself) AG> - I want to use the same public IP AG> Is there a solution for that? What I could not figure out, how the AG> reverse proxy could distinghish / split up the http 1.1 individual AG> domains to internal ips. Without hardcore programming - no. First that come on my mind is you can write program, which is nats and splits IPs on packets recieved from divert-socket, or for example extend ip_nat.c with functions you need. Probably there is easyer netgraph solution with less pain but noone for ng_experts answeared you so this is the only way to start for now. :) Andrew, mailto:resident@b-o.ru proud ubah haxor lvl 9 (http://www.try2hack.nl/levels/)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91167665580.20040726120855>