Olá amigos, Sim DNAT já está acontecendo mas com o apache é a minha grande dúvida é com o apache vou continuar fazendo testes.
Ahh coloquei um outra dúvida no forum, quem puder me ajudar. Abraços, Elton Lima ------------------------------------------------------------ Analista de Suporte Tel: +55 21 8714-3381 E-mail: [email protected] // [email protected] Site: http://www.eltonlima.com --- Em qua, 6/4/11, Felipe Augusto van de Wiel (faw) <[email protected]> escreveu: De: Felipe Augusto van de Wiel (faw) <[email protected]> Assunto: Re: Apache + Proxy Reverso Para: "d-u-p" <[email protected]> Data: Quarta-feira, 6 de Abril de 2011, 2:46 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Olá Elton, On 28-03-2011 15:58, Elton Lima wrote: > ###### mail.eltonlima.com.br.conf ############# > <VirtualHost *:80> > > ServerName mail.eltonlima.com.br > ServerAlias www.mail.eltonlima.com.br > > ProxyPreserveHost On > ProxyRequests Off > ProxyPass / http://mail.eltonlima.com.br > ProxyPassReverse / http://mail.eltonlima.com.br > > </VirtualHost> Tenho uma demanda similar, fazer proxy de um site público para um servidor interno, uma forma de fazer isso é via DNAT, a outra é como você fez com Proxy Reverso do Apache. Eu tenho a seguinte configuração: /etc/apache2/sites-available/site-proxy-reverso <VirtualHost *:80> ServerAdmin [email protected] ServerName example.com ServerAlias www.example.com ProxyRequests Off <Proxy *> Order Deny,Allow Allow from all </Proxy> ProxyPass / http://example.intranet.local/ ProxyPassReverse / http://example.intranet.local/ ProxyPreserveHost On ErrorLog /srv/example.com/log/apache2/error.log LogLevel warn CustomLog /srv/example.com/log/apache2/access.log combined </VirtualHost> Abraço, - -- Felipe Augusto van de Wiel (faw) Debian. Freedom to code. Code to freedom! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2b/k4ACgkQCjAO0JDlyka9AwCguS40zmzH9vrRDkS3UvY3UTtZ ZFMAmgI9QEWHQ9phRNfR7LtCoWcj9KrS =LDjP -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

