Cisco Systems, Inc.(R)    Cisco | Profile | Contacts & Feedback | Help
Cisco SMB Support Assistant
Configure Cisco IOS URL Filtering on a Router with Security Device Manager
Home > Work With My Routers > Cisco Routers > Configure Cisco IOS URL Filtering on a Router with Security Device Manager  
 

Configure Cisco IOS URL Filtering on a Router with Security Device Manager




Introduction

Cisco IOS URL Filtering provides a way to permit or block specific Websites based on policies defined within Cisco IOS Software. This document explains how to configure Cisco IOS URL Filtering on your router with SDM and it applies to 1800, 2800 and 3800 series Cisco routers. Legacy platforms are also supported.


Back to Top



Requirements

To perform the steps described in this document, you need to have these items:

  • Router which runs Cisco IOS Software Advanced Security images, supporting the K9 bundle on 1800, 2800, and 3800 Series routers

  • Cisco® Router and Security Device Manager (SDM) 2.3 version

  • You must have completed Configure Your Router with Security Device Manager

  • Complete the LAN Addressing Worksheet from the Site Survey


Back to Top



Configure Cisco IOS URL Filtering on a Router

Cisco IOS URL Filtering provides an easy and inexpensive way to filter URLs based on corporate policies without the need for any external filtering servers. URL filtering allows you to control the access to Internet websites by permitting or denying access to specific websites based on the information contained in an URL list.

Configure Cisco IOS URL Filtering

Follow these steps to Configure Cisco IOS URL Filtering:

  1. Open a web browser and the field L6A of the LAN Addressing Worksheet. Press Enter to launch SDM. For more information on how to launch, type http:// router-IP-address in the Address field. Use the IP address that you entered in SDM, refer to Configure your Router with Security Device Manager.

    Note: This document uses examples from SDM version 2.3. Other versions of SDM displays different output.

  2. Click Configure.

    config_IOS_URL_Filtering_SDM_01.gif

  3. Click the Firewall and ACL tab.

    config_IOS_URL_Filtering_SDM_02.gif

  4. Choose Basic Firewall and click Launch the Selected Task.

    config_IOS_URL_Filtering_SDM_03.gif

  5. On the Basic Firewall Configuration Wizard, click Next.

    config_IOS_URL_Filtering_SDM_04.gif

  6. On the Basic Firewall Interface Configuration screen, select the interfaces: FastEthernet0 as the outside (untrusted) interface and Default Vlan 20 as the inside (trusted) interface and click Next.

    config_IOS_URL_Filtering_SDM_05.gif

  7. In the Warning message window, click OK.

    config_IOS_URL_Filtering_SDM_06.gif

  8. The Basic Firewall Security Configuration wizard provides preconfigured application security policies. Set the slider to Medium Security and click Next.

    config_IOS_URL_Filtering_SDM_07.gif

  9. On the Basic Firewall Domain Name Server Configuration screen, check Enable DNS based hostname to address translation and enter the IP address of the primary server from the field L4 and L5 of the LAN Addressing Worksheet and click Next.

    config_IOS_URL_Filtering_SDM_08.gif

  10. On the Internet Firewall Configuration Summary screen, click Finish.

    config_IOS_URL_Filtering_SDM_09.gif

  11. In the Commands Delivery Status window, click OK.

    config_IOS_URL_Filtering_SDM_10.gif

  12. In the Information window, click OK. Next, you are directed to the Edit Firewall Policy/ACL tab next to the Firewall and ACL section.

    config_IOS_URL_Filtering_SDM_11.gif

Configure Local URL List

If the Cisco IOS image on the router supports URL filtering but does not support Zone-based Policy Firewall (ZPF), you can maintain one local URL list on the router. This list is used by all Application Security policies in which the URL filtering is enabled.

Note: Cisco IOS images of release 12.4(9)T and later support all the ZPF features that SDM supports. In a ZPF configuration, a local URL list can be created for each URL filtering parameter map. Contact the SMB Technical Assistance Center (SMB TAC) for further assistance.

Follow these steps to configure Local URL List:

  1. On the Firewall and ACL screen, click Application Security.

    config_IOS_URL_Filtering_SDM_12.gif

  2. Next to Application Security settings, click URL Filtering.

    config_IOS_URL_Filtering_SDM_13.gif

  3. Check the box Enable URL Filtering. The Add URL... button is activated. Click Add URL tab.

    config_IOS_URL_Filtering_SDM_14.gif

  4. In the Add Local URL window, enter a complete domain name such as www.cisco.com. Select Permit and click OK. All HTTP traffic destined to this domain are permitted.

    config_IOS_URL_Filtering_SDM_15.gif

  5. Click Add URL again to block websites you want; the Add Local URL dialog appears again. This time, enter a partial domain name such as .yahoo.com and select Deny. Click OK. All HTTP traffic destined to the URLs whose domain names end with this partial domain name, such as mail.yahoo.com and smallbusiness.yahoo.com, are denied (blocked).

    config_IOS_URL_Filtering_SDM_16.gif

  6. Click Apply Changes at the bottom of the screen.

    config_IOS_URL_Filtering_SDM_16a.gif

    Note: In some cases, users maintain a list of URLs they want to allow or disallow access. Use the Import URL List button at the top corner of the screen to import such a URL list from your PC to the router. The URL list that you select must have a .txt or .csv extension.

  7. In the Warning message window, click OK.

    config_IOS_URL_Filtering_SDM_16b.gif

  8. In the Commands Delivery Status window, click OK.

    config_IOS_URL_Filtering_SDM_16c.gif

  9. Click Save.

    config_IOS_URL_Filtering_SDM_17.gif

Configure a URL Filtering Server

The router can send HTTP requests to third party URL filtering servers such as Websense, N2H2, or SmartFiltering that are capable to store much larger URL lists than the router can store. If the router is configured with a URL filter server list, the router sends requests that do not match entries in the local list to the URL filter server it has a connection to, and permits or denies the request based on the response it receives from the server.

Note: Cisco IOS images of release 12.4(9)T and later support all the ZPF features that SDM supports. In a ZPF configuration, a local URL list can be created for each URL filtering parameter map. You can use Cisco SDM to create list entries and you can import entries from a list stored on your PC. When a local URL list is used in combination with URL filter servers, local entries are used first.

Follow these steps to configure a URL Filtering Server:

  1. Next to Application Security tab, expand URL Filtering and click URL Filter Servers.

    config_IOS_URL_Filtering_SDM_18.gif

  2. In the URL Filter Server window, click Add and select the Add Websense.

    config_IOS_URL_Filtering_SDM_19.gif

  3. In the Add Websense Server window, make these changes to defaults:

    1. Next to IP address/Hostname filed enter the IP Address of the Websense server. For the IP address use the Secure Server network IP address that you entered in field L6C of the Secure Server VLAN Addressing Worksheet.

    2. For "Direction", choose inside if the URL filter server is part of the inside network. This is usually one of the networks that the router LAN interfaces connect to. Choose outside if the router is in the outside network. This is usually one of the networks that the router WAN interfaces connect to. In our example, inside is entered.

    3. Leave the rest to the default and click OK.

    config_IOS_URL_Filtering_SDM_20.gif

  4. Click Apply Changes.

    config_IOS_URL_Filtering_SDM_21.gif

  5. Click Save.

    config_IOS_URL_Filtering_SDM_22.gif


Back to Top



Next Step

You have now configured URL Filtering on your router.

To make further changes to your router, refer to the Router Support Page.

To configure other devices in your network, refer to the Configuration Overview Page.


Back to Top



Troubleshoot the Procedure

This section provides information about common problems that you may encounter. If this information does not solve your problem, contact the SMB Technical Assistance Center (SMB TAC) for assistance.

Problem

Cause(s) and Suggested Solution(s)

You added a new firewall rule to permit or deny access to a website but it does not work.

Contact the SMB Technical Assistance Center (SMB TAC) for assistance.


Back to Top



Related Information

Service Requests

  Open a service request
  Update a service request

Feedback

Please rate this site:
++ + +/- - --

Suggestions for improvement:




If Cisco may contact you for more details
or for future feedback opportunities,
please enter your contact information:

Full Name:
Email:



© 1992-2006 Cisco Systems, Inc. All rights reserved. Terms and Conditions, Privacy Statement, Cookie Policy and Trademarks of Cisco Systems, Inc.