How can I open public access to internal websites

I have 3 internal websites on 3 different machines. They are working fine as long as they are accessed internally. I want to open access to them from outside (public internet) for my boss. To do so, I have opened port 80 on the firewall and redirect my firewall's IP address to the internal IP address of the first web server.

This configuration is working fine, and my boss can get access to the first internal websites. Now I want to open access to the second web server, but I can not redirect the same IP/Port number to the second web server machine. What I did, I created a virtual directory on the IIS of the first web server and redirected it to the second web server. But the problem is when my boss uses, say, http://PUBLIC_IP/VIRTUAL_DIRECTORY, he receives a "Page not found" error, becasue IIS is returning an internal web address.

How can I open access to the second and third websites, without assigning different public IP addresses to them. I want my boss use same IP address with different "slash" names to get access to each web site.
behteramiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TolomirAdministratorCommented:
you need an reverse proxy webserver for this.

Checkout: http://www.visolve.com/squid/whitepapers/reverseproxy.php for details.

This is the current version of squid for windows: http://squid.acmeconsulting.it/

Tolomir






0
behteramiAuthor Commented:
Hi Tolomir. Thank you for your comment.

I have a ISA 2006 machine in my LAN acting as a WebProxy-only; i.e. it has only one NIC connected to the LAN. Can I configure ISA so that it plays a reverse-proxy role as well? If yes, how? This way, I reconfigure firewall so that it forwards HTTP request on a special port to the internal IP address of ISA. and configure ISA so that it forwards HTTP requests on that special port to the web server's IP address on port 80. does this scenario make sense?
0
TolomirAdministratorCommented:
Take a look at:

Step 2.1. Configure a Reverse Proxy
http://technet.microsoft.com/en-us/library/bb663639.aspx

This should explain it.
0
Webinar: What were the top threats in Q2 2018?

Every quarter, the WatchGuard Threat Lab releases an Internet Security Report that describes and analyzes the top threat trends impacting companies around the world. Are you ready to learn more about the top threats of Q2 2018? Register for our Sept. 26th webinar to learn more!

behteramiAuthor Commented:
That article shows that I can use a single NIC ISA server as a reverse-proxy. That's good. Now the question is how I can set it up to resolve my problem. Can I configure it so that it forwards both IP and port to some thing different?

For example, if client enters x.x.x.x:pppp in the browser, can I configure ISA so that it forwards the request to y.y.y.y:nnnn (note that both IP and port have been changed)?
0
TolomirAdministratorCommented:
no you should use a name like

mywebserver.com/website1
mywebserver.com/website2
mywebserver.com/website3


the reverse proxy redirects this request to

internal-server-a/website1
internal-server-b/website2
internal-server-c/website3

I did never setup such an isa proxy, I could just help you with apache, sorry.

Tolomir


0
TolomirAdministratorCommented:
0
behteramiAuthor Commented:
I think reverse proxy is not a solution. What I want is a way to forward both IP/port to a different IP/port.
0
TolomirAdministratorCommented:
Well you cannot redirect 1 ip + 1 port to 2 different ips or ports.

you could redirect 1 ip with 3 different ports to 3 webservers with port 80

Otherwise you have to stick with reverse proxy. (A reverse proxy translates internal names to external resources and vice versa)
0
TolomirAdministratorCommented:

Web Publishing Rules are used to publish Web sites and services. Web Publishing is sometimes referred to as reverse proxy. When you publish a Web site, the ISA firewall's Web Proxy filter always intercepts the request and then proxies the request to the Web site published by the Web Publishing Rule.
Web Publishing Rules include the following features:
  • Provide proxied access to Web sites protected by the ISA firewall  
  • Perform application layer inspection of connections made to published Web sites  
  • Path redirection  
  • Pre-authentication of connections made to published Web sites (Forward Basic authentication credentials)  
  • Delegation of user credentials  
  • Reverse Caching of published Web sites  
  • Ability to publish multiple Web sites with a single IP address  
  • Ability to re-write URLs returned by the published Web site using the ISA firewall's Link Translator  
  • Support for forwarding either the ISA firewall's IP address, or the original client's IP address to the Web site  
  • Support for SecurID and RADIUS One-time Password authentication (two factor authentication)  
  • Support for RADIUS and LDAP authentication  
  • Ability to schedule when connections are allowed to Published Web sites  
  • Port and Protocol Redirection
       
http://www.isaserver.org/tutorials/ISA-2006-Firewall-Web-Publishing-Rules.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software Firewalls

From novice to tech pro — start learning today.