cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4483
Views
0
Helpful
2
Replies

Dynamics ACL with Radius

danastasi
Level 1
Level 1

hello,

My question is regarding a Cisco Radius server with Dynamcic ACL.

I have one router and one Radius Security server. How a router can received a Dynamic ACL from the Radius Server in order to let the user to go in specific host or subnet ??

Any help would be appreciated.

Thanks, Dany

2 Replies 2

brick
Level 1
Level 1

Hi,

I've done this as an ISP once. You need to use the

Cisco-AV-Pair attribute in which you may specify any router command you want to be executed for a specific user.

You'll need to use

virtual-profile aaa.

The problem is that the commands are not exactly the way you would write them in the CLI. They are from TACACS, run a search on CCO for Cisco-AV-Pair and I'm sure you'll find something usefull.

Best regards,

Cristian Caramida

tsybille
Level 1
Level 1

Hello Dany,

To implement dynamic acl, your radius server should return an attribute to the router:

cisco-avpair = "ip:inacl=my_user_access_list"

this is for selecting an extended access list, already defined in the router, named "my_user_access_list"

or you could return several :

cisco-avpair = "ip:inacl#1="deny 10.10.10.10 0.0.0.0"

cisco-avpair = "ip:inacl#1="permit any any"

Those line build a dynamic access list 1.

cisco-avpair = "ip:inacl#1="deny 10.10.10.10 0.0.0.0"