One of my task requires to publish a web application which running on a diff. port need to be accessed from outside but securely. Most of the people simply open the application port added in firewall to get this done. Unfortunately my requirement does not allow to do that.
So I need to use a IIS7 webserver and enable the proxy module in it to this done.
We need to install the following packages to enable proxy module on IIS7.
• Application Request Routing
• URL Rewrite
The easiest way is to install “Web Platform Installer for IIS” first and choose both packages from it and complete the install.
a. Installing URL rewriting
b. Installing Application Routing IIS7 module
Enabling reverse proxy on IIS
it is so simple as just launch the rewrite module, click on reverse proxy and set you proxy server details there. You can either enter your local or remote servers url to re-direct your server traffic.
Simple steps isn’t it ?
Authenticating proxy access
If you need an authenticated access, enable the Window authentication by clicking on “authentication” tab. Don’t forgot the disable anonymous authentication before that.
Note : While you creating a user for this purpose, pls ensure that user is removed from the Users group to avoid any further security issues.