Solved

How can I open public access to internal websites

Posted on 2009-07-12
9
588 Views
Last Modified: 2013-11-16
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.
0
Comment
Question by:behterami
  • 6
  • 3
9 Comments
 
LVL 27

Expert Comment

by:Tolomir
Comment Utility
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
 

Author Comment

by:behterami
Comment Utility
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
 
LVL 27

Expert Comment

by:Tolomir
Comment Utility
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
 

Author Comment

by:behterami
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 27

Expert Comment

by:Tolomir
Comment Utility
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
 
LVL 27

Expert Comment

by:Tolomir
Comment Utility
0
 

Author Comment

by:behterami
Comment Utility
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
 
LVL 27

Expert Comment

by:Tolomir
Comment Utility
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
 
LVL 27

Accepted Solution

by:
Tolomir earned 500 total points
Comment Utility

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
To setup a SonicWALL for policy based routing to be used with the Websense Content Gateway there are several steps that need to be completed. Below is a rough guide for accomplishing this. One thing of note is this guide is intended to assist in the…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now