Solved

Block IIS from Outside Traffic on Development Machine

Posted on 2008-10-14
5
542 Views
Last Modified: 2012-05-05
Hello, I'd like to block IIS from receiving traffic on my development machine. Essentially, I want it to only serve pages to the local IP.

Can someone tell me how to do this?

Using IIS 7 on Vista.

Thanks~
0
Comment
Question by:YoungBonzi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 4

Accepted Solution

by:
jasco4617 earned 130 total points
ID: 22715529
The easiest way to do this would be to use your Windows Firewall, but only if you know know exactly what subnets you will be needing access from.

1. Go to: Control Panel -> Windows Firewall.
2. From there Click "Turn Windows Firewall on or off" (accept the UAC message).
3. Now make sure the "On (recommended)" button is selected on the "General" tab.
4. Next, go to the "Exceptions" tab and click on "Add Port...".
5. In the "Name" box, type: "HTTP". In the "Port number" box, type: "80".
6. Next click on the "Change scope..." button.
7. If you only need access from your own subnet, then select the "My network (subnet) only" option, other wise select "Custom list" and enter in the IPs/subnet you want to access your webserver.  If you want to access it from two subnets, for example 10.1.x.x and 10.2.x.x, then you would enter "10.1.0.0/255.255.0.0,10.2.0.0/255.255.0.0" into the Custom list box.

I hope this helps.
0
 
LVL 8

Author Closing Comment

by:YoungBonzi
ID: 31506052
Thank you, do you happen to know if there is a way to do it from IIS?
0
 
LVL 4

Expert Comment

by:jasco4617
ID: 22721725
Yes, you can do this from IIS.

If you are using IIS 7, then you would open IIS Manager, click on the website you are wanting to restrict and in the Feature View for that website double click on "IPv4 Address and Domain Restrictions".  Under "Actions" on the right, you will select "Edit Feature Settings..." and select "Deny" from the "Access for unspecified clients" drop down list, then click "OK".  Then click on "Add Allow Entry..." from the Actions list on the right and make all you exception for address to allow access to your website.
0
 
LVL 8

Author Comment

by:YoungBonzi
ID: 22721874
Okay, that's how I remember to do it...for some reason that feature is not in my IIS Manager. I'll look into seeing how to add it. Thanks again.
0
 
LVL 8

Author Comment

by:YoungBonzi
ID: 22721961
Ahh, just had to check the IP Security box in the Windows Components dialog. TY
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

734 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