You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Carachi <ca...@gmail.com> on 2011/09/09 15:29:54 UTC
[users@httpd] How forward all ports with apache reverse proxy?
Hi,
I have this problem: I use apache like a reverse proxy for web
request, but I want that all ports are forward to the server. How can
I configure apache for forward all ports?
Below there is an example of my apache configuration.
Thank you
Bye
<VirtualHost *:80>
ServerName example.domain.com
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /http://example.domain.com/
<http://www.google.com/url?sa=D&q=http://example.domain.com/&usg=AFQjCNHMwJeEMl0ev2my_3O1y6frUFvxxA>
ProxyPassReverse /http://example.domain.com/
<http://www.google.com/url?sa=D&q=http://example.domain.com/&usg=AFQjCNHMwJeEMl0ev2my_3O1y6frUFvxxA>
</VirtualHost>
Re: [users@httpd] How forward all ports with apache reverse proxy?
Posted by Björn Zettergren <bj...@basefarm.se>.
On 09/10/2011 09:39 AM, Carachi wrote:
> Hi and Thank you Terry
> I want that apache forward all request this the server, not only http
> request but also ftp, sftp, telnet, 8080 etc.
> I tried to setting so but it didn't work, I search on google, but I
> didn't found anything.
> Thank you
Apache httpd is a HTTP server, and speaks (mostly) the HTTP protocol.
Although i'm not entirely clear on what it is you wish to achieve, it
sounds to me like you're looking for NAT/portforwarding-capabilities to
redirect ANY protocol from one server to another. If this is true, check
out http://netfilter.org/.
/Björn
---------------------------------------------------------------------
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
Re: [users@httpd] How forward all ports with apache reverse proxy?
Posted by Carachi <ca...@gmail.com>.
Hi and Thank you Terry
I want that apache forward all request this the server, not only http
request but also ftp, sftp, telnet, 8080 etc.
I tried to setting so but it didn't work, I search on google, but I
didn't found anything.
Thank you
<VirtualHost *>
ServerName example.domain.com
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /http://example.domain.com/
<http://www.google.com/url?sa=D&q=http://example.domain.com/&usg=AFQjCNHMwJeEMl0ev2my_3O1y6frUFvxxA>
ProxyPassReverse /http://example.domain.com/
<http://www.google.com/url?sa=D&q=http://example.domain.com/&usg=AFQjCNHMwJeEMl0ev2my_3O1y6frUFvxxA>
</VirtualHost>
OR
<VirtualHost *:*>
ServerName example.domain.com
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /http://example.domain.com/
<http://www.google.com/url?sa=D&q=http://example.domain.com/&usg=AFQjCNHMwJeEMl0ev2my_3O1y6frUFvxxA>
ProxyPassReverse /http://example.domain.com/
<http://www.google.com/url?sa=D&q=http://example.domain.com/&usg=AFQjCNHMwJeEMl0ev2my_3O1y6frUFvxxA>
</VirtualHost>
On 09/09/2011 16:12, Terry Carmen wrote:
>
> Quoting Carachi <ca...@gmail.com>:
>
> > Hi,
> > I have this problem: I use apache like a reverse proxy for web
> > request, but I want that all ports are forward to the server. How can
> > I configure apache for forward all ports?
> > Below there is an example of my apache configuration.
> >
> What do you mean by "all ports"?
>
> Which ports do you want in addition to 80 and 443?
>
> What are you trying to do?
>
> Terry
>
Re: [users@httpd] How forward all ports with apache reverse proxy?
Posted by Terry Carmen <te...@cnysupport.com>.
Quoting Carachi <ca...@gmail.com>:
> Hi,
> I have this problem: I use apache like a reverse proxy for web
> request, but I want that all ports are forward to the server. How can
> I configure apache for forward all ports?
> Below there is an example of my apache configuration.
>
What do you mean by "all ports"?
Which ports do you want in addition to 80 and 443?
What are you trying to do?
Terry