httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio A Lima Jr <sergio...@ig.com.br>
Subject [users@httpd] Redirecting doors for the APACHE
Date Thu, 23 Oct 2003 21:09:42 GMT
Hi all,

I'm new manager in webserver apache.

Well, we go to my problem:

Below, my network structure:

                              ------------
                             /  INTERNET /
                               -----------
                                   /
                                   /
                               | ROUTER |
                                   |
                              (public IP)
                                   |
                         | FIREWALL (iptables)|
                                   |
                              (private IP)
                                   |
                            (Port Redirect)
                   [publicip:80->to->192.168.0.2:80]
                                   |
                 [publicip:3306->to->192.168.0.3:3306]
                                   |
                 -------------------------------------
|                                                  |
(192.168.0.2)                                (192.168.0.3)
|                                                  |
/WEB SERVER (apache)/                       /DATABASEServer/


Forever access websites hosteds in webserver, return DocumentRoot page
of the webserver Apache.

It's server running Apache version 1.3.28 (and yes, already it is with
the updates of security).

The iptables rules to redirect are:

iptables -A PREROUTING -t nat -p tcp -s 0/0 -d 1.2.3.4 --dport 80 \
        -j DNAT --to 192.168.0.2:80

Please, I know that I am asking for very, but need a half solution that urgent.

Best regards.

Thank's

[]'s
-- 
Sergio A Lima Jr
Support Analist
<sergioajr@ig.com.br>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message