Kerry Cordero
  • Facebook
  • Google
  • Linkedin
  • Twitter
  • Rss
  • Home
  • About
  • Blog
  • Documents
    • Cisco
      • GBICS
      • IOS Packaging (formerly IOS Naming)
      • Integrated Service Routers Quick Look 1800/2800/3800
      • Network Cabling Physical Media Distances
      • Power
      • Router Memory
      • Router Modules Cross Reference
      • Router Performace
      • Switching Performance
      • Voice Density
      • VPN Performance
    • Security
      • Cisco Guide to Harden Cisco IOS Devices
      • Cisco PCI Solution for Retail 2.0 Design and Implementation Guide
      • 2010 2011 Computer Crime and Security Survey
      • 2010 Data Breach Investigations Report
  • Portfolio
    • Photos
    • Videos
      • Drums
  • Downloads
  • Links
  • Contact
Home» Application Networking Services » Cisco ASA and WCCPv2 using ACLs

Cisco ASA and WCCPv2 using ACLs

Posted on August 9, 2011 by Kerry Cordero in Application Networking Services, Security

This is a basic config to get WCCPv2 running on a Cisco ASA 5510. I am using several Sophos Web Appliances (WS Series).

IMPORTANT:
The ASA does NOT support L2 (Layer 2) redirect methods. You have to use GRE encapsulation!

1. Configure ACL for all WCCP server members:
I only configured one here.

access-list wccp_proxy_servers extended permit ip host 10.200.1.80 any

2. Configure ACL for traffic that needs to be redirected. You’re internal hosts/users.
Port specific entries are NOT supported!

access-list wccp_proxy_hosts extended permit ip 10.200.10.0 255.255.255.0 any
access-list wccp_proxy_hosts extended permit ip 10.200.15.0 255.255.255.0 any
access-list wccp_proxy_hosts extended permit ip 10.200.71.0 255.255.255.0 any
access-list wccp_proxy_hosts extended permit ip 10.200.100.0 255.255.255.0 any
access-list wccp_proxy_hosts extended permit ip 10.200.200.0 255.255.255.0 any 

3. Enable WCCP
Web-cache is the standard service which intercepts TCP port 80 (HTTP) and sends it to the cache engine.

wccp web-cache redirect-list wccp_proxy_hosts group-list wccp_proxy_servers

4. Enable WCCP redirection on the inside interface.

wccp interface inside web-cache redirect in

5. Enable WCCP to redirect HTTPS traffic to the cache engine using service 70. You HAVE to use service 70 for HTTPS. Then apply it to the inside interface.

wccp 70 redirect-list wccp_proxy_hosts group-list wccp_proxy_servers
wccp interface inside 70 redirect in

6. Now you are done. If you want to do FTP traffic, you will have to use service 60 instead of 70.

Here is a list of common WCCP service group numbers:

0 OR web-cache = HTTP
53 = DNS
60 = FTP
70 = HTTPS
90 – 97 = User Configurable
99 = Reverse Proxy

Final Configuration:

access-list wccp_proxy_hosts extended permit ip 10.200.10.0 255.255.255.0 any
access-list wccp_proxy_hosts extended permit ip 10.200.15.0 255.255.255.0 any
access-list wccp_proxy_hosts extended permit ip 10.200.71.0 255.255.255.0 any
access-list wccp_proxy_hosts extended permit ip 10.200.100.0 255.255.255.0 any
access-list wccp_proxy_hosts extended permit ip 10.200.200.0 255.255.255.0 any
access-list wccp_proxy_servers extended permit ip host 10.200.1.80 any 

wccp web-cache redirect-list wccp_proxy_hosts group-list wccp_proxy_servers
wccp 70 redirect-list wccp_proxy_hosts group-list wccp_proxy_servers
wccp interface inside web-cache redirect in
wccp interface inside 70 redirect in

Troubleshooting and Verification:
sh wccp (shows all the services configured) or sh wccp sh wccp interface
debug wccp event
debug wccp packets

asa, proxy

Comments are closed.

Categories

  • Application Networking Services
  • Laptops, Tablets, & Smart Phones
  • Routing & Switching
  • Security
  • Servers & Desktops
  • VOIP & QOS
  • Wireless

Tags

apple asa bandwidth bgp cables CCIE ccie-rs cidr cisco cya datacenter default design dns frame-relay GNS3 igp ios ipv4 ipv6 juniper module_wics mpls multicast nmap notes oer password pfr pix power proxy qos recovery spanning-tree ssh tips troubleshooting upgrade video vlans vlsm voice vpn windows

(c) 2012 Kerry Cordero