Re: Apache - reverse proxy with freebsd

From: Andrew Riabtsev (resident_at_b-o.ru)
Date: 07/26/04

  • Next message: Alex Melkomukov: "chrooting Postfix+SASL+TLS"
    Date: Mon, 26 Jul 2004 12:08:55 +0400
    To: "Arie Gerszt" <arie@gerszt.ch>
    
    

    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/)

    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Alex Melkomukov: "chrooting Postfix+SASL+TLS"