You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sergio A Lima Jr <se...@ig.com.br> on 2003/10/23 23:09:42 UTC
[users@httpd] Redirecting doors for the APACHE
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
<se...@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