Setting IP Access Restrictions to Servers

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

You can grant or deny Simple Mail Transfer Protocol (SMTP) virtual server access to specific IP addresses. By default, the SMTP virtual server is accessible to all IP addresses. You can set restrictions by specifying a single IP address, a group of addresses using a subnet mask, or a domain name.

Important

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /User:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".

Procedures

To set IP address access restrictions

  1. In IIS Manager, right-click the SMTP virtual server, and then click Properties.

  2. Click the Access tab, and under Connection control, click Connection.

  3. Click either Only the list below or All except the list below.

  4. To add to the list of computers, click Add.

  5. To delete from the list of computers, select a listing, and then click Remove.