Apache Proxy to Promox VMs

  • Thread starter Thread starter auberon
  • Start date Start date
A

auberon

Guest
Hi all,

I have a very specific problem but, for the benefit of the community, perhaps this could be discussed in a more general manner.

I have set up forwarding of all HTTP requests (port 80) on my router to a VM running Ubuntu/Apache2 and redirecting all requests to the respective VMs. I created a virtual host in Apache2 (in Webmin) and used the following code below.

The questions are:
1) Is this http proxy thing efficient? What are the alternatives?
2) How do I forward ssh requests? Isn't there a way to setup an ssh proxy?
3) Is it smart (safe) to allow ssh request forwarding?

Code:
ServerName some.domain.com
ProxyRequests on
ProxyPreserveHost on
<Proxy *>
Order deny,allow
Allow from all 
</Proxy>
ProxyPass / http://192.168.10.201/
ProxyPassReverse / http://192.168.10.201/
 
Last edited by a moderator: