Erik, sorry about your name!! I´m brazilian and here the common is Eric...
Sorry again RL -----Mensagem original----- De: Roberto Lourenço [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 19 de outubro de 2005 20:27 Para: [email protected] Assunto: RES: [qmailtoaster] Off Topic - Is it possible? Thank Eric... But there I only can redirect 80 port... I want it for several port services... I was searching for it and get something with squid+squid-guard... do you know something about? Regards, RL -----Mensagem original----- De: Erik Espinoza [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 19 de outubro de 2005 20:19 Para: [email protected] Assunto: Re: [qmailtoaster] Off Topic - Is it possible? This is not possible with iptables. It is possible with apache however. Basically run apache on the machine with the public ip. Add the following to your httpd.conf file. VirtualHost * <VirtualHost *> ServerName www.host.com ProxyPass / http://192.168.1.10 ProxyPassReverse / http://192.168.1.10 </VirtualHost> <VirtualHost *> ServerName www1.host.com ProxyPass / http://192.168.1.20 ProxyPassReverse / http://192.168.1.20 </VirtualHost> And so on. . . On 10/19/05, Roberto Lourenço <[EMAIL PROTECTED]> wrote: > Hi all... > > I have only one public IP and I want to split my services under a private > network ex. 192.168.1.0/24 redirecting it by domain (on reality I want to > have two toaster boxes under one public IP and split my domains on this > hosts (without change the default service port´s)). > > Something like www.test.com = 200.200.200.200 and www1.test.com = > 200.200.200.200 (but when hit him (www1)) the server www (200.200.200.200 - > my firewall where resides the www) redirect this request to 192.168.1.2 (but > only www1.test.com not for www.test.com). > > Is it possible with iptables? > > Sorry by the off topic... > > > Thanks > > > RL > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.12.2/140 - Release Date: 18/10/2005 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.2/140 - Release Date: 18/10/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.2/140 - Release Date: 18/10/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.2/140 - Release Date: 18/10/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.2/140 - Release Date: 18/10/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
