Koozali.org: home of the SME Server

WebServer request to internal ips

Offline doublecaps

  • **
  • 24
  • +0/-0
WebServer request to internal ips
« on: April 01, 2010, 09:19:54 PM »
Hello,

In our organization we have many remote locations and I need to give access to one of our vendors to a specific page at each one of our remote sites for remote adminsitration on their equipment.

I don't wan't to give them VPN access because then I would have to worry about to what else they might get access to.
I setup a public webpage with links to each one of the sites they need access to and setup 2 different scenarios.

1) Setup the links with the local address, which doesn't give the intended results because SME is NATing those addresses from the public interface.

2) configure the links with the public IP address and a different port for each one of the sites and setup port forwarding for each one. Which, oddly is not working either.

Any suggestios on how I can achieve this?

Thanks
and setup port forwarding for each one of the links,

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: WebServer request to internal ips
« Reply #1 on: April 02, 2010, 12:20:08 AM »
Search here for ProxyPass.

Offline doublecaps

  • **
  • 24
  • +0/-0
Re: WebServer request to internal ips
« Reply #2 on: April 02, 2010, 03:46:19 AM »
Thanks for the link.
I took a look at the documentation, but the example listed there is not exactly what I'm looking for.

If I understand correctly, ProxyPass allows me to map a domain to an alternate webserver that is sitting on behind SME.

In my case i need to map a host on the same domain as the SME. I have a page on the SME server with links to pages on the hosts behind the SME.

For example:

www.mydomain.com

Site1 http://site1.mydomain.com --> 192.168.1.200:8080
Site2 http://site2.mydomain.com --> 192.168.2.200:8080
Site3 http://site3.mydomain.com --> 192.168.3.200:8080
...
Site3 http://site70.mydomain.com --> 192.168.70.200:8080

Otherwise i would have to setup 70 domains and that doesn't really makes sense.


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: WebServer request to internal ips
« Reply #3 on: April 02, 2010, 03:39:17 PM »
If I understand correctly, ProxyPass allows me to map a domain to an alternate webserver that is sitting on behind SME.

In my case i need to map a host on the same domain as the SME.

In both cases you are mapping a FQDN A record in DNS to web content.

Set up the hosts in your global DNS.

Set up the (sub-)domains in the SME server configuration. Start with one or two to prove to yourself that it will work.