Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


February 15, 2005

Using IP Security Policies to Restrict Access to a Server


RSS
View this exclusive article with VIP access -- click here to join |
See More Security Articles Here | Reprints | Or sign up for our VIP Monthly Pass!
Main Article    Access Denied

We have a WAN with connections to several business partners, and we want to protect our more critical servers from being accessed by people outside our organization but on the WAN. Can we configure a Windows server to be accessible only to clients in certain IP subnets without using a firewall?

Yes, you can easily implement such a rule with IP Security Policies on Windows 2000 Server and Windows Server 2003 machines. Note that IP Security Policies are not exactly the same as IP Security (IPSec). Windows implements IPSec through IP Security Policies, but IPSec is only part of IP Security Policies.

IP Security Policies allow you to filter traffic according to IP address, protocol, or port number. Then you can choose to allow the filtered packets, block the packets, or establish an IPSec connection to protect the packets. In your case, you'd create an IP Security Policy with one rule and configure the rule's filter list to catch all packets with a source IP address that falls within the subnets of your business partners. Then you'd select the block action for the rule. You can configure all the desired servers at the same time by creating the IP Security Policy in a Group Policy Object (GPO) that's applied to the servers. Of course, filtering based on source address can be defeated if a business partner spoofs an IP address so that it appears to originate within one of your trusted subnets, but this method is probably secure enough for most situations.

If you want rock solid security, though, consider actually implementing IPSec on sensitive servers for authentication purposes. Instead of a policy that blocks packets from untrusted subnets, create a policy with a filter that catches all traffic and then requires IPSec to be negotiated. In fact, a prebuilt IP Security Policy called Secure Server (Require Security) will work for you. You'll also need to enable the Client (Respond Only) prebuilt IP Security Policy on all legitimate clients of the sensitive servers. Only clients that are part of your forest will be able to authenticate because the default IP Security Policies base IPSec authentication on Kerberos and rely on both computers having accounts in the forest.

After you implement IPSec on a server, when a client tries to connect to the server, the server will respond with a request to negotiate IPSec. If the client fails to comply, the server will block all traffic from the client.

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

How can I stop and start services from the command line?

...


Security Whitepapers The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Protecting (You and) Your Data with Exchange Server 2007

Related Events How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Top 10 Email Security Challenges and Solutions

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing