Feedback
|
Table Of Contents
Prerequisites for User-Based Firewall Support
Restrictions for User-Based Firewall Support
Information About User-Based Firewall Support
Feature Design of User-Based Firewall Support
How to Configure User-Based Firewall Support
Configuring Access Control Lists
Configuring the Identity Policy for Tag and Template
Configuring Control Type Tag Class-Maps or Policy-Maps for Tag and Template
Configuring Supplicant-Group Attribute on the ACS
Configuring Firewall Class-Maps and Policy-Maps
Configuring Firewall Zone Security and Zone-Pair
Configuring ACLs for Authentication Proxy
Configuring Authentication Proxy
Configuration Examples for User-Based Firewall Support
Cisco IOS Authentication Proxy: Example
Feature Information for User-Based Firewall Support
User-Based Firewall Support
First Published: July 11, 2008Last Updated: March 19, 2010Firewalls traditionally apply rules based on source and destination IP addresses. In the new, highly dynamic mobile world, IP addresses of end systems constantly change. Therefore it becomes increasingly difficult to have a particular user group function assigned to a particular block of IP addresses. It is also difficult to apply firewall policies for a user group that is the source of the traffic. This feature allows source IP addresses to be associated with user groups. Network administrators can apply firewall policies based on user-groups, and the infrastructure can seamlessly apply these security policies.
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for User-Based Firewall Support" section.
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Prerequisites for User-Based Firewall Support
•
Restrictions for User-Based Firewall Support
•
Information About User-Based Firewall Support
•
How to Configure User-Based Firewall Support
•
Configuration Examples for User-Based Firewall Support
•
Feature Information for User-Based Firewall Support
Prerequisites for User-Based Firewall Support
The following prerequisites apply to the configuration of User-Based Firewall Support.
Hardware Requirements
•
Access Control Server
•
Cisco Network Access Device, which can be any of the following:
–
Cisco 7200 router
–
Cisco 1800 router
–
Cisco 2800 router
–
Cisco 3800 router
Software Requirements
•
Cisco IOS Release 12.4(20)T or a later release
•
An Ingress Security feature that uses the Identity Policy infrastructure for policy application
Restrictions for User-Based Firewall Support
User-group mapping is based on the IPv4 address of the end-host's source. The "user-group" match criterion is supported for inspect class-maps.
Authentication Proxy and IP Admission
Authentication Proxy and IP Admission is an input-only feature that should be configured on all the interfaces of the source zone. The Authentication Proxy and IP Admission feature is not virtual routing and forwarding (VRF)-aware; therefore, the user-group Zone Policy Firewall policies cannot be applied on a per VRF basis.
Information About User-Based Firewall Support
To configure the User-Based Firewall Support feature, you should understand the following concepts:
•
Feature Design of User-Based Firewall Support
Feature Design of User-Based Firewall Support
The User-Based Firewall Support feature was designed to provide identity or user-group based security that provides differentiated access for different classes of users. Classification can be provided on the basis of user identity, device type (for example, IP phones), location (for example, building) and role (for example, engineer). Because of the dynamic nature of end-host access, where every user is different and the resource he or she accesses is different, it is important to associate end-user's identity, role, or location with security policies. This association prevents the need for administrators to constantly update policy filters, a cumbersome task. The end-user identity can be derived through a variety of different mechanisms. Once a user's identity is established, security policies will be aware of the user's identity, not just the source address. Individual policies can be enforced allowing for greater control.
Cisco IOS supports several features that offer dynamic, per-user authentication and authorization of network access connections. These features include 802.1X, IKE, Authentication Proxy, Network Admission Control (NAC), and so on. These features allow network administrators to enforce security policies on per-user basis. By integrating authentication features with Cisco Policy Language-based features such as Zone Based Firewall, quality of service (QoS), and so on, the combination can provide a transparent, reliable, ease to manage and deploy security solution to dynamically authenticate and enforce polices on a per user basis.
Cisco IOS User-Based Firewall Support leverages existing authentication and validation methods to associate each source IP address to a user-group. User-group association can be achieved using two methods. The first method (Tag and Template) uses locally defined policies to achieve the association, while the second method obtains the user-group information from the access control server (ACS) and requires no further configuration on the network access device (NAD).
The User-Based Firewall Support feature leverages the Tag and Template concept where the authenticating server returns a tag-name on validating the user credentials. This tag received on the authentication device is mapped to a template. The template is a control plane policy map that refers to an identity policy configured on the device. The identity policy contains the access policies that are to be applied for the corresponding tag-name. The identity policy defines one or more user-groups to which the source IP would be associated. This mapping provides administrators with flexibility to associate the end-host with multiple user-group memberships. The scope of the user-group defined in the identity policy is local to the device. Once the end-host's user-group membership has been established, other Cisco IOS policy language based features can enforce security policies on a per user-group basis.
Match Criterion
The match user-group criterion in the inspect type class map configuration can be used to enforce security policies on a per user-group basis. The match criterion filters the traffic stream based on the client's source IP address in the specified user-group, making it independent of the authentication method that established the group membership. The match criterion in the inspect type class map enables inspection for any ingress traffic and for any protocol, thereby enabling inspection for all traffic.
Firewall Support
Cisco IOS Firewall includes multiple security features. Cisco IOS Firewall stateful packet inspection provides true firewall capabilities to protect networks against unauthorized traffic and control legitimate business-critical data. Authentication proxy controls access to hosts or networks based on user credentials stored in an authentication, authorization, and accounting (AAA) server. Multi-VRF firewall offers firewall services on virtual routers with VRF, accommodating overlapping address space to provide multiple isolated private route spaces with a full range of security services. Transparent firewall adds stateful inspection without time-consuming, disruptive IP addressing modifications. Application inspection controls application activity to provide granular policy enforcement of application usage, protecting legitimate application protocols from rogue applications and malicious activity. For more information on firewall support see the Cisco IOS Firewall Design Guide.
Authentication Proxy
The Cisco IOS Firewall Authentication Proxy feature provides dynamic, per-user authentication and authorization, authenticating users against industry standard TACACS+ and RADIUS authentication protocols. Authenticating and authorizing connections by users provides more robust protection against network attacks. See the Authentication Proxy document for more information about this feature.
Zone-Based Policy Firewall
Cisco IOS Zone-Based Policy Firewall can be used to deploy security policies by assigning interfaces to different zones and configuring a policy to inspect the traffic moving between these zones. The policy specifies a set of actions to be applied on the defined traffic class. For more information see the document Zone-Based Firewall.
Tag and Template
The Tag and Template feature allows network administrators to define enforcement policies on a local device and have a RADIUS server specify the policy selector to be enforced. This feature can be applied to a NAC architecture. See the Tag and Template feature guide for more information about this feature.
Network Admission Control
In a typical Network Admission Control deployment, an ACS or a RADIUS server is used for validating the user posture information and for applying the policies on the NAD. A centralized ACS can be used to support multiple NADs. This solution has inherent problems associated with it, namely:
•
Version control of policies. Typically, a specific NAD that is running a Cisco IOS image may support some access control lists (ACLs), and another NAD may support a different version. Managing different versions can be a problem.
•
Users connect on different interfaces to the NAD, and on the basis of the interface type, the policies that can be applied to the user can change, and the NAD can determine the policies to be applied. In the current architecture, the ACS sends the same set of policies to all the NADs when a profile is matched, which does not give enough control to the administrator to configure the polices on the basis of the NAD configuration.
Configuring the Tag and Template feature allows the ACS to map users to specific groups and associate a tag with them. For example, the Usergroup1 user group may have a tag with the name usergroup1. When the NAD queries the ACS for the policies, the ACS can return the tag that is associated with the user group. When this tag is received at the NAD, the NAD can map the tag to a specific template that can have a set of policies that are associated with the user group. This mapping provides administrators with the flexibility to configure the template on a NAD basis, and the policies can change from NAD to NAD even though the tag is the same.
In summary, a template must be configured on the NAD, and the template must be associated with a tag. When the ACS sends the policies back to the NAD, the template that matches the tag that was received from the ACS is used.
Access Control List Overview
Cisco provides basic traffic filtering capabilities with access control lists (also referred to as access lists). Access lists can be configured for all routed network protocols (IP, AppleTalk, and so on) to filter the packets of those protocols as the packets pass through a router. You can configure access lists at your router to control access to a network. Access lists can prevent certain traffic from entering or exiting a network.
How to Configure User-Based Firewall Support
Perform the following tasks to configure User-Based Firewall Support:
•
Configuring Access Control Lists
•
Configuring the Identity Policy for Tag and Template
•
Configuring Control Type Tag Class-Maps or Policy-Maps for Tag and Template
•
Configuring Supplicant-Group Attribute on the ACS
•
Configuring Firewall Class-Maps and Policy-Maps
•
Configuring Firewall Zone Security and Zone-Pair
•
Configuring ACLs for Authentication Proxy
•
Configuring Authentication Proxy
Configuring Access Control Lists
To configure ACLs, perform the steps in this section. Policy specific ACLs are defined under the identity policy.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip access-list extended access-list-name
4.
permit protocol any host ip-address
5.
end
DETAILED STEPS
Configuring the Identity Policy for Tag and Template
To configure the identity policy for Tag and Template, perform the steps in this section. Usergroup support is achieved by configuring the usergroup that is to be associated with the IP address on the NAD itself using a locally defined identity policy. A tag is received from the ACS that matches a template (identity policy) on the NAD. The user-group associated with the IP address is obtained from the NAD.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
identity policy policy-name
4.
user-group group-name
5.
access-group group-name
6.
end
DETAILED STEPS
Configuring Control Type Tag Class-Maps or Policy-Maps for Tag and Template
To configure control type tag class-maps or policy-maps for Tag and Template, perform the steps in this section. Tag names are received from the AAA server as authorization data and are matched with their respective class-maps. The security policies that are associated with the identity policies are applied to the host. In this way host IP addresses gain membership of user-groups.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
policy-map type control tag policy-map-name
4.
class type control tag control-class-name
5.
identity policy policy-name
6.
exit
7.
configure terminal
8.
class-map type control tag match-all class-map-name
9.
match tag tag-name
10.
end
DETAILED STEPS
Configuring Supplicant-Group Attribute on the ACS
The supplicant group attribute needs to be configured as a Cisco attribute value (AV) Pair on the ACS for user-based firewall support. To configure the supplicant-group attribute on the ACS, perform the steps in this section. The supplicant-group attribute is defined in the RADIUS and Lightweight Directory Access Protocol (LDAP) authorization group attributes from where all authorization data pertaining to the client resides. The user-group information is obtained from the ACS and no further user-group specific configuration is required on the NAD.
SUMMARY STEPS
1.
Cisco:Avpair=supplicant-group=group-name
DETAILED STEPS
Step 1
Cisco:Avpair=supplicant-group=eng
Defines the supplicant-group attribute.
Configuring Firewall Class-Maps and Policy-Maps
Perform the following task to configure firewall class-maps and policy-maps. User-groups are configured and attached to policy-maps by using the inspect command with each class-map.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
class-map type inspect match-all class-map-name
4.
match protocol protocol-name
5.
match user-group group-name
6.
exit
7.
configure terminal
8.
policy-map type inspect policy-map-name
9.
class type inspect class-map-name
10.
inspect
11.
end
DETAILED STEPS
Configuring Firewall Zone Security and Zone-Pair
To configure firewall zone security and zone -pair, perform the steps in this section. Security zones are configured for untrustworthy (outside) and trustworthy (inside) networks or interfaces. Zone-pairs are configured where the source zone is untrustworthy and the destination zone is trustworthy.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
zone security zone-name
4.
end
5.
configure terminal
6.
zone-pair security zone-pair-name source source-zone-name destination destination-zone-name
7.
service-policy type inspect policy-map-name
8.
end
DETAILED STEPS
Configuring ACLs for Authentication Proxy
To configure ACLs for authentication proxy, perform the steps in this section.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip access-list extended access-list-name
4.
permit protocol any source-ip-address destination-ip-address
5.
permit protocol any host destination-ip-address
6.
permit protocol any any eq bootps
7.
permit protocol any any eq domain
8.
end
9.
configure terminal
10.
ip access-list extended access-list-name
11.
permit protocol any host destination-ip-address
12.
permit protocol any host destination-ip-address eq domain
13.
permit protocol any host destination-ip-address eq www
14.
permit protocol any host destination-ip-address eq port
15.
end
DETAILED STEPS
Configuring Authentication Proxy
To configure authentication proxy default IP admissions, perform the steps in this task.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip admission auth-proxy-banner http c Auth-Proxy-Banner-Text c
4.
ip admission watch-list expiry-time expiry-minutes
5.
ip admission max-login-attempts attempt-number
6.
ip admission inactivity-timer timeout-minutes
7.
ip admission absolute-timer timeout-minutes
8.
ip admission init-state-timer timeout-minutes
9.
ip admission auth-proxy-audit
10.
ip admission watch-list enable
11.
ip admission ratelimit limit
12.
ip admission name admission-name proxy http list acl
13.
ip admission name admission-name proxy telnet list acl
14.
ip admission name admission-name proxy http list acl service-policy type tag service-policy-name
15.
exit
DETAILED STEPS
Configuring AAA and RADIUS
To configure AAA and RADIUS servers, perform the steps in this task.
SUMMARY STEPSs
1.
enable
2.
configure terminal
3.
aaa new-model
4.
aaa authentication login default group radius
5.
aaa authentication login list-name none
6.
aaa authentication eou default enable group radius
7.
aaa authorization network default group radius local
8.
aaa authorization list-name default group radius
9.
aaa accounting auth-proxy default start-stop group group-name
10.
aaa accounting system default start-stop group group-name
11.
aaa session-id common
12.
radius-server attribute 6 on-for-login-auth
13.
radius-server attribute 8 include-in-access-req
14.
radius-server attribute 25 access-request include
15.
radius-server configure-nas
16.
radius-server host ip-address auth-port port-number acct-port port-number key string
17.
radius-server host ip-address auth-port port-number acct-port port-number key string
18.
radius-server source-ports extended
19.
radius-server vsa send authentication
20.
exit
DETAILED STEPS
Configuring AAA and LDAP
Perform this task to configure AAA and LDAP servers:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
aaa new-model
4.
aaa authentication login default group ldap
5.
aaa authentication login list-name none
6.
aaa authorization network default group ldap local
7.
aaa authorization list-name default group ldap
8.
ldap attribute map map-name
9.
map type ldap-attr-type aaa-attr-type
10.
exit
11.
ldap server name
12.
ipv4 ipv4-address
13.
bind authenticate root-dn username password [0 string | 7 string] string
14.
base-dn string
15.
attribute map map-name
16.
exit
DETAILED STEPS
Troubleshooting Tips
The following commands can be used to troubleshoot User-Based Firewall Support:
•
clear ip admission cache
•
debug user-group
•
show debugging
•
show epm session ip
•
show ip access-lists
•
show ip admission
•
show logging
•
show policy-map type inspect zone-pair
•
show user-group
Examples
show epm session ip
The following example shows sample output of the show epm session command when the summary keyword is used.
Router# show epm session ip summaryEPM Session Information------------------------------Total sessions seen so far: 8Total Active sessions: 1Session IP Address:------------------------------192.168.101.131The following example shows sample output of the show epm session command when the ip-address argument is specified. The output below is displayed if a locally defined user-group association (Tag and Template method) is used.
Router# show epm session ip 192.168.101.131Admission feature: AuthproxyTag Received: eng_group_tagPolicy map used: all_tag_cm_pmClass map matched: eng_tag_cmThe following example shows sample output of the show epm session command when the ip-address argument is specified. The output below is displayed if ACS defined (supplicant-group attribute configured on the ACS) user-group association is used.
Router# show epm session ip 192.168.101.131Admission feature: AuthproxyAAA policies:ACS ACL: xACSACLx-IP-TEST_ACL-47dfc392Supplicant-Group: engSupplicant-Group: mgrProxy ACl: permit udp any anyRouter#show ip access-lists
The following example shows sample output of the show ip access-lists command.
Router# show ip access-listsExtended IP access list 102permit icmp host 192.168.101.131 host 192.168.104.136 Auth-Proxy ACE downloaded from AAApermit udp host 192.168.101.131 host 192.168.104.136 Auth-Proxy ACE downloaded from AAApermit tcp host 192.168.101.131 host 192.168.104.136 Auth-Proxy ACE downloaded from AAA10 permit ip any 192.168.100.0 10.0.0.255 (956 matches)20 permit ip any 192.168.101.0 10.0.0.255 (9 matches)30 permit ip any host 192.168.104.136 (20 matches)40 permit udp any any eq bootps50 permit udp any any eq domainExtended IP access list 103
10 permit ip any host 192.168.104.136 (3 matches)20 permit udp any host 192.168.104.136 eq domain30 permit tcp any host 192.168.104.136 eq www40 permit udp any host 192.168.104.136 eq 44350 permit tcp any host 192.168.104.136 eq 443Extended IP access list vendor_group_acl10 permit ip any host 192.168.104.136Extended IP access list auth_proxy_acl10 permit tcp any host 192.168.104.13620 permit udp any host 192.168.104.13630 permit icmp any host 192.168.104.136Extended IP access list sales_group_acl10 permit ip any host 192.168.104.131Extended IP access list eng_group_acl10 permit ip any host 192.168.100.132Extended IP access list manager_group_acl10 permit ip any host 192.168.104.128Router#show ip admission
The following is sample output of the show ip admission command when the configuration keyword is used.
Router# show ip admission configurationAuthentication Proxy BannerHTTP Protocol Banner: Auth-Proxy-Banner-TextAuthentication global cache time is 205 minutesAuthentication global absolute time is 305 minutesAuthentication global init state time is 15 minutesAuthentication Proxy Session ratelimit is 100Authentication Proxy Session Watch-list is enabledWatch-list expiry timeout is 50 minutesAuthentication Proxy Auditing is enabledMax Login attempts per user is 10Authentication Proxy Rule ConfigurationAuth-proxy name auth_rulehttp list 103 inactivity-timer 205 minutesRouter#The following is sample output of the show ip admission command when the cache keyword is used. After a successful Telnet/HTTP-proxy session, from a Cisco Trust Agent (CTA) client to an Audit Server, is established, logs are displayed.
Router# show ip admission cacheAuthentication Proxy CacheClient Name aaatestuser, Client IP 192.168.101.131, Port 1870, timeout 205, Time Remaining 205, state ESTABshow logging
The following is sample output of the show logging command.
Router# show loggingLog Buffer (65000 bytes):*Jul 3 05:33:13:935: %SYS-5-CONFIG_I: Configured from console by console*Jul 3 05:33:18.471: USRGRP-API: [Type=IPv4 Val=192.168.101.131 Group-h_ug]: Usergroup opcode entry deletion.*Jul 3 05:33:18.471: %UG-6-MEMBERSHIP: IP=192.168.101.131| INTERFACE=Vlan| USERGROUP=eng_group_ug| STATUS-REMOVED*Jul 3 05:33:18.471: USRGRP-ENTRY: [Type=IPv4 Val=192.168.101.131 :: Group=eng_group_ug Count=0]:Usergroup entry deleted*Jul 3 05:33:18.471: USRGRP-ENTRY: [Type=IPv4 Val=192.168.101.131 :: Group=eng_group_ug Count=0]:Usergroup entry clean up and free*Jul 3 05:33:18.471: USRGRP-DB: Group=h_ug Count=0: Usergroup is empty. Destroy Group.*Jul 3 05:33:18.471: USRGRP-DB: Group=h_ug Count=0: Clean up and free usergroup db.*Jul 3 05:33:22.383: USRGRP-API: [Type=IPv4 Val=192.168.101.131 Group=eng_group_ug]: Usergroup opcode entry addition.*Jul 3 05:33:22.383: USRGRP-DB: Group=h_ug Count=0 New usergroup db created.*Jul 3 05:33:22.383: %UG-6-MEMBERSHIP: IP=192.168.101.131| INTERFACE=Vlan333| USERGROUP=eng_group_ug| STATUS=ESTABLISHED*Jul 3 05:33:22.383: USRGRP-ENTRY: [Type=IPv4 Val=192.168.101.131 :: Group=eng_group_ug Count=1]: Usergroup entry added*Jul 3 05:33:41.239: USRGRP-API: [Type=IPv4 Val=192.168.101.131 Group=eng_group_ug]: Usergroup opcode entry deletion.*Jul 3 05:33:41.239: %UG-6-MEMBERSHIP: IP=192.168.101.131| INTERFACE=Vlan333| USERGROUP=eng_group_ug| STATUS=REMOVED*Jul 3 05:33:41.239: USRGRP-ENTRY: [Type=IPv4 Val=192.168.101.131 :: Group=eng_group_ug Count=0]: Usergroup entry deleted*Jul 3 05:33:41.239: USRGRP-ENTRY: [Type=IPv4 Val=192.168.101.131 :: Group=eng_group_ug Count=0]: Usergroup entry clean up and free*Jul 3 05:33:41.239: USRGRP-DB: Group=eng_group_ug Count=0: Usergroup is empty. Destroy group.*Jul 3 05:33:41.239: USRGRP-DB: Group=eng_group_ug Count=0: Clean up and free usergroup db.*Jul 3 05:33:50.687: USRGRP-API: {Type=IPv4 Val=192.168.101.131 Group=eng_group_ug]: Usergroup opcode entry addition.*Jul 3 05:33:50.687: USRGRP-DB: Group=eng_group_ug Count=0: New usergroup db created.*Jul 3 05:33:50.687: %UG-6-MEMBERSHIP: IP=192.168.101.131| INTERFACE=Vlan333| USERGROUP=eng_group_ug| STATUS=ESTABLISHED*Jul 3 05:33:50.687: USRGRP-ENTRY: [Type=IPv4 Val=192.168.101.131 :: Group=eng_group_ug Count=1]: Usergroup entry addedshow policy-map type inspect zone-pair
The following is sample output of the show policy-map type inspect zone-pair command when the sessions keyword is used.
Router# show policy-map type inspect zone-pair sessionspolicy exists on zp out_inZone-pair: out_inService-policy inspect: all_ins_cm_pmClass-map: vendor_group_ins_cm (match-all)Match: user-group vendor_group_ugClass-map: manager_group_ins_cm (match-all)Match: protocol telnetMatch: user-group manager_group_ugClass-map: auth_proxy_ins_cm (match-all)Match: user-group auth_proxy_ugMatch: protocol telnetNumber of Established Sessions = 1Established SessionsSession 49D12BE0 (192.168.101.131:1872)=>(192.168.104.136:23) telnet:tcp SIS_OPENCreated 00:00:15, Last heard 00:00:09Bytes sent (initiator:responder) [171:249]Class-map: eng_group_ins_cm (match-all)Match: user-group eng_group_ugMatch: protocol ftpNumber of Established Sessions = 1Established SessionsSession 49D12E20 (192.168.101.131:1874)=>(192.168.104.136:21) ftp:tcp SIS_OPENCreated 00:00:12, Last heard 00:00:06Bytes sent (initiator:responder) [45:137]Class-map: sales_group_ins_cm (match-all)Match: protocol ftpMatch: user-group sales_group_ugClass-map: class-default (match-any)Match: anyshow user-group
The following is sample output of the show user-group command when the configuration keyword is used.
Router# show user-groupUsergroup: auth_proxy_ug----------------------------------------------------------User Name Type Interface Learn Age (min)----------------------------------------------------------192.168.101.131 IPv4 Vlan333 Dynamic 0Usergroup: eng_group_ug----------------------------------------------------------User Name Type Interface Learn Age (min)----------------------------------------------------------192.168.101.131 IPv4 Vlan333 Dynamic 0The following is sample output of the show user-group command when the group-name argument is used.
Router# show user-group auth_proxy_ugUsergroup: auth_proxy_ug----------------------------------------------------------User Name Type Interface Learn Age (min)----------------------------------------------------------192.168.101.131 IPv4 Vlan333 Dynamic 0The following is sample output of the show user-group command when the count keyword is used.
Router# show user-group countTotal Usergroup: 2----------------------------------------------------------User Group Members----------------------------------------------------------auth_proxy_ug 1eng_proxy_ug 1Configuration Examples for User-Based Firewall Support
This section contains the following example:
•
Cisco IOS Authentication Proxy: Example
Cisco IOS Authentication Proxy: Example
The following example shows how to configure User-Based Firewall Support. The Cisco IOS Authentication Proxy maps two users to different user-groups. Zone Policy Firewall policies are configured on a per user-group basis.
!IP Admission configurationConfigure the rule for HTTP based proxy authentication and associate the control plane tag service policy.!configure terminalip admission name auth-http proxy http service-policy type tag global-policyip http serverip http secure-server!AAA configuration!aaa new-model!aaa authentication login default group radiusaaa authentication login noAAA noneaaa authentication eou default group radiusaaa authorization network default group radius localaaa authorization auth-proxy default group radiusaaa accounting auth-proxy default start-stop group radiusaaa accounting system default start-stop group radiusaaa session-id common!radius-server attribute 6 on-for-login-authradius-server attribute 8 include-in-access-reqradius-server attribute 25 access-request includeradius-server configure-nasradius-server host 192.168.104.131 auth-port 1645 acct-port 1646 key ciscoradius-server host 192.168.104.132 auth-port 1645 acct-port 1646 key ciscoradius-server source-ports extendedradius-server vsa send authentication!!Tag and Template configuration.Configuration policy attributes for the engineer.!identity policy engineer-policyaccess-group engineer-acluser-group group-engineeridentity policy manager-policyaccess-group manager-acluser-group group-manager!Define type control tag class-maps!class-map type control tag match-all auth_proxy_tag_cmmatch tag auth_proxy_tagclass-map type control tag match-all eng_tag_cmmatch tag eng_group_tagclass-map type control tag match-all manager_tag_cmmatch tag manager_group_tag!!Define the control plane tag policy map.!policy-map type tag control tag global-policyclass engineer-classidentity policy engineer-policyclass manager-classidentity policy manager-policy!Define per-user group traffic classification based on membership of the source IP address in the specified user-group.!class-map type inspect match-all engineer-insp-cmapmatch user-group group-engineermatch protocol tcpmatch protocol udpclass-map type inspect match-all manager-insp-cmapmatch user-group group-managermatch protocol http!Zone Policy Firewall configuration.Configure zones z1 and z2.!zone security z1zone security z2!Configure the policy map to inspect traffic between z1 and z2.!policy-map type inspect z1-z2-policyclass type inspect engineer-insp-cmapinspectclass type inspect manager-insp-cmapinspect!Configure interfaces to their respective zones and apply the ip admission rule on the source zone member(s).!interface e0ip admission auth-httpzone-member security z1interface e1zone-member security z2!Configure the zone-pair and apply the appropriate policy-map.!zone-pair security z1-z2 source z1 destination z2service-policy type inspect z1-z2-policyAdditional References
The following sections provide references related to the User-Based Firewall Support feature.
Related Documents
Standards
Standard TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
MIB MIBs LinkNone
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Feature Information for User-Based Firewall Support
Table 1 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note
Table 1 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
CCDE, CCENT, CCSI, Cisco Eos, Cisco Explorer, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Nurse Connect, Cisco Pulse, Cisco SensorBase, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco TrustSec, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, Flip Gift Card, and One Million Acts of Green are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Lumin, Cisco Nexus, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Follow Me Browsing, GainMaker, iLYNX, IOS, iPhone, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, SenderBase, SMARTnet, Spectrum Expert, StackWise, WebEx, and the WebEx logo are registered trademarks of Cisco and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1002R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2008-2010 Cisco Systems, Inc. All rights reserved.
Feedback