Apache2-Proxy with many Intranet Webservers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

for around 6 weeks the neighbour appartement of my office in Kehl burned
down and killed my office and with it my 100 Mbit upstream.  Now I  need
a provisory solution with four 2.5 Mbit lines.

And here is the point where the problem begins:

Some years ago I had a config where I installed  Apache2  on  my  router
(Firewall and NAT) and it passesd the HTTP requests to my webservers  in
the LAN.  Unfortunately I have lost the config.  I have setup my private
<dns1> and <dns2> (bind9) to resolv the domains and hosts intern.  And I
have (for now) following Servers:


192.168.100.69      samba3.private.tamay-dogan.net # Intranet Web/Mail

192.168.100.193             router.tamay-dogan.net # runs Apache2-Proxy
                                                   # Courier-IMAP-Proxy

192.168.100.194               dns1.tamay-dogan.net
192.168.100.195               dns1.tamay-dogan.net

192.168.100.200               mail.tamay-dogan.net

192.168.100.201                www.tamay-dogan.net
                                   *.can4linux.org
                               *.flexray4linux.org

192.168.100.202      *.electronica.tamay-dogan.net

192.168.100.203    releases.debian.tamay-dogan.net # \
                    archive.debian.tamay-dogan.net #  Very huge dino
                ${CODENAME}.debian.tamay-dogan.net # /

192.168.100.204           *.debian.tamay-dogan.net # anything which is
                                                   # not releases,
                                                   # archive or name of
                                                   # any Debian releases

192.168.100.220                    mail.tdwave.net
                                webmail.tdwave.net

192.168.100.221                     www.tdwave.net
                                 pootle.tdwave.net
                                    vod.tdwave.net

192.168.100.222                 myspace.tdwave.net


which mean, my Apache2-Proxy is on <router> and I have  to  forward  the
webtraffic to any of the give IP's except the DNS.

Because I am behind a NATed network I gaved each IP a port corresponding
to the IP like

    192.168.100.221    ->    192.168.100.221:40221

and the Listen Directives are setup correctly.  The VirtualHost  on  the
<router> looks:

----[ '/Webspace1/APACHE_available/www.tdwave.net' ]--------------------
<VirtualHost *:80>
    ServerAdmin         linux4michelle@xxxxxxxxxxxxxxx
    ServerName          www.tdwave.net
    ProxyPass           / http://192.168.100.221:40221/
    ProxyPassReverse    / http://192.168.100.221:40221/
    <Directory proxy:http://192.168.100.221:40221/*>
        Order           deny,allow
        Allow           from all
    </Directory>
</VirtualHost>
------------------------------------------------------------------------

I can not connect from the Internet to the Server but from my LAN I  can
access
        <http://www.tdwave.net:40221/>
        <http://pootle.tdwave.net:40221/>
        <http://vod.tdwave.net:40221/>

without any problems.

Can someone help me to get it running please.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>                 Michelle Konzack
<http://www.can4linux.org/>                   Apt. 917
<http://www.flexray4linux.org/>               50, rue de Soultz
Jabber linux4michelle@xxxxxxxxxxxxx           67100 Strasbourg/France
IRC #Debian (irc.icq.com)                     Tel. DE: +49 177 9351947
ICQ #328449886                                Tel. FR: +33  6  61925193

Attachment: signature.pgp
Description: Digital signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux