To block MSN Messenger traffic and Windows Live Messenger traffic by using ISA Server 2004 or ISA Server 2006, use one of the following methods:
- Create a new access rule that blocks MSN Messenger traffic and Windows Live Messenger traffic over HTTP but still lets users access other Web sites by using HTTP. As soon as you create the rule, you must configure an HTTP policy rule and include the correct signatures.
- Create a new access rule that blocks HTTP traffic, and then add the application/x-msn-messenger content type for this rule. Move the new rule to the top of the rules list.
Method 1: Create a new access rule and configure an HTTP policy rule that blocks MSN Messenger traffic and Windows Live Messenger traffic
Create the new access rule
- Log on to the computer that is running ISA Server 2004 or ISA Server 2006 by using an account that has administrative permissions.
- Click Start, point to All Programs, point to Microsoft ISA Server, and then click ISA Server Management.
- In the left pane of the ISA Server Management console, expand ServerName.
Notes- ServerName is a placeholder for the name of the computer that is running ISA Server.
- If you are running ISA Server 2004 Enterprise Edition, expand Arrays in the left pane, and then expand ServerName.
- Click Firewall Policy.
- Click the Tasks tab in the task pane, and then click Create New Access Rule.
- On the Welcome to the New Access Rule Wizard page, enter the name for the rule in the Access Rule name box, and then click Next.
- On the Rule Action page, click Allow, and then click Next.
- On the Protocols page, click Selected protocols in the This rule applies to list, and then click Add.
- In the Add Protocols dialog box, expand Common Protocols.
- Double-click the HTTP protocol and the HTTPS protocol, click Close, and then click Next.
- On the Access Rule Sources page, click Add.
- In the Add Network Entities dialog box, expand Networks.
- Double-click Internal, click Close, and then click Next.
- On the Access Rule Destinations page, click Add.
- In the Add Network Entities dialog box, expand Networks.
- Double-click External, click Close, and then click Next.
- On the User Sets page, click All Users in the This rule applies to requests from the following user sets list, click Remove, and then click Add.
- In the Add Users dialog box, double-click All Authenticated Users, click Close, and then click Next.
- On the Completing the New Access Rule Wizard page, click Finish.
Configure the HTTP policy rule that blocks MSN Messenger traffic and Windows Live Messenger traffic
- In the left pane of the ISA Server Management console, right-click the access rule that you created, and then click Configure HTTP.
- In the Configure HTTP policy for rule dialog box, click the Signatures tab, and then click Add.
- In the Signature dialog box, enter a name for the signature in the Name field.
- In the Search in list, click Request headers.
- In the HTTP header box, type User-Agent:.
- To block MSN Messenger traffic, type MSN Messenger in the Signature box.
- To block Windows Live Messenger traffic, type Windows Live Messenger in the Signature box.
- Click OK, and then click OK again.
- In the ISA Server Management console, click Apply.
Method 2: Create a new access rule that blocks HTTP traffic, and then add the application/x-msn-messenger content type for this rule
Create the new access rule
- Log on to the computer that is running ISA Server 2004 or ISA Server 2006 by using an account that has administrative permissions.
- Click Start, point to All Programs, point to Microsoft ISA Server, and then click ISA Server Management.
- In the left pane of the ISA Server Management console, expand ServerName.
Notes- ServerName is a placeholder for the name of the computer that is running ISA Server.
- If you are running ISA Server 2004 Enterprise Edition, expand Arrays in the left pane, and then expand ServerName.
- Click Firewall Policy.
- Click the Tasks tab in the task pane, and then click Create New Access Rule.
- On the Welcome to the New Access Rule Wizard page, enter the name for the rule in the Access Rule name box, and then click Next.
- On the Rule Action page, click Allow, and then click Next.
- On the Protocols page, click Selected protocols in the This rule applies to list, and then click Add.
- In the Add Protocols dialog box, expand Common Protocols.
- Double-click the HTTP protocol and the HTTPS protocol, click Close, and then click Next.
- On the Access Rule Sources page, click Add.
- In the Add Network Entities dialog box, expand Networks.
- Double-click Internal, click Close, and then click Next.
- On the Access Rule Destinations page, click Add.
- In the Add Network Entities dialog box, expand Networks.
- Double-click External, click Close, and then click Next.
- On the User Sets page, click All Users in the This rule applies to requests from the following user sets list, click Remove, and then click Add.
- In the Add Users dialog box, double-click All Authenticated Users, click Close, and then click Next.
- On the Completing the New Access Rule Wizard page, click Finish.
Add the application/x-msn-messenger content type for the rule and move the rule to the top of the rules list
- In the left pane of the ISA Server Management console, right-click the access rule that you created, and then click Properties.
- In the Properties dialog box, click the Content Types tab.
- Under This rule applies to, click Selected content types, and then click New.
- Enter a name in the Name box.
- In the Available types box, type application/x-msn-messenger, click Add, and then click OK two times.
- In the ISA Server Management console, click the new access rule.
- In the Tasks pane, click Move Selected Rules Up to move the new rule to the top of the rules list.
- Click Apply.