User Group Firewall is a mechanism to authenticate each user and provide access privileges based on the type of user being authenticated. The authentication is done by a RADIUS server. The user initially has limited or no access to the protected network. When the user is authenticated, access privileges are established for the IP address from which the user is accessing the network. The access privileges depend on which user group the user belongs to on the RADIUS server.
教主配置实例介绍:
**********************任务目标***************************
user1-----usergroup1-----过滤URL"http://202.100.1.1/level/15/exec/-/sh/run/CR"
user2-----usergroup2-----过滤URL"http://202.100.1.1/level/15/exec/-/sh/ip/inter/brie/CR"
**********************基本配置***************************
enable
config ter
hostname FW
interface FastEthernet0/0
interface FastEthernet1/0
**********************************************************
%%%%%%%%%%%%%%基本AAA%%%%%%%%%%%%%%%%%%%%%%%%%
enable
config ter
aaa new
aaa authentication login noacs line none
line con 0
line aux 0
line vty 0 15
radius-server host 202.100.1.100 key cisco
radius-server vsa send
注意test
%%%%%%%%%%%%%auth-proxy部分%%%%%%%%%%%%%%%%%%%%%
-------------------匹配用户组------------------------
identity policy usergroup-policy1
identity policy usergroup-policy2
-------------------匹配ACS返回的tag------------------
class-map type control tag match-all class-usergroup2
class-map type control tag match-all class-usergroup1
-------------------把tag影射到用户组-----------------
policy-map type control tag tag.policy
--------------------启用auth-proxy-------------------
aaa authentication login default group radius
aaa authorization auth-proxy default group radius
ip admission name auth proxy http service-policy type tag tag.policy
--------------------运用auth-proxy-------------------
interface FastEthernet1/0
--------------------启用http服务---------------------
ip http server
ip http authentication aaa
%%%%%%%%%%%%%%%%%%%%配置ZBFW%%%%%%%%%%%%%%%%%%%%%%%%%
--------------------匹配正则表达式---------------------------------
parameter-map type regex user1.regex
parameter-map type regex user2.regex
--------------------通过class-map type http匹配URI-----------------
class-map type inspect http match-any user1.class
class-map type inspect http match-any user2.class
--------------------通过policy-map typ http丢弃适当URI-------------
policy-map type inspect http user2.http
policy-map type inspect http user1.http
-------------------通过class-map type inspect匹配usergroup1的http流量--------
class-map type inspect match-all usergroup1-inspect
-------------------通过class-map type inspect匹配usergroup2的http流量--------
class-map type inspect match-all usergroup2-inspect
-------------------通过policy-map type inspect配置zone-pair间策略------------
policy-map type inspect in-to-out
-------------------配置ZBFW---------------------------------------------------
zone security out
zone security in
interface FastEthernet0/0
interface FastEthernet1/0
zone-pair security in-to-out source in destination out
******************************ACS配置**************************************
传统方法:
RAC配置方法: