Tacacs configuration with F5-LTM-User attribute.

HI Can some one guide me with configuration guide for configuration of tacacs+ for F5 lTM and GTM ? I am looking for a configuration which with provide 3 levels of access admin/auditor/operator , I came to know there we can create attribute simialr to F5-ltm-user , and provide levels of access and radius servers.

please let me know if we have any config guide available

What TACACS server are you using? If Cisco ACS, I can give you a pretty good walkthrough.

I have the same question for LTM and am using Cisco ACS. If you can provide a walkthrough I’d appreciate it.

Thanks

What version of ACS are you running?

4.2

Darn, was hoping you’d say 5.2 or 5.3. I don’t have access to an ACS 4.2 system any longer, but we had it working on 4.2 before we upgraded.

So this question has come up a few times, most recently here:

Have you setup the BIG-IP remote roles and ACS group configs at all or are you just getting started?

I’ve created one BIG-IP remote role and have cloned an existing ACS group, the one I want to add the F5 admin login ability to, and renamed it “adm”.

F5 remoterole

role info adm { attribute “F5-LTM-User-Info-1=adm” console “enable” deny disable line order 1 role “administrator” user partition “all” }

ACS group TACACS+ Settings Custom Attribute:

F5-LTM-User-Info-1=adm

Login currently fails on the F5 (v10.2.4) but the ACS Passed Authentications log shows that the login was successful.

Missing something obvious?

I plan on also setting up auditor & operator roles once I have this one working.

Thanks

Is the name of your ACS group “adm”? It has to match verbatim what your remote role group name is.

Indeed it is. “cloned an existing ACS group… and renamed it ‘adm’”

Apologies for my reading comprehension fail. Did you remove any local usernames that may be conflicting with the remote user attempting to login?

Just confirmed that there is no local user with the same username.

Your remote role configuration looks good. Do you see any helpful information in/var/log/audit or/var/log/secure that identifies a problem?

Your remote role config looks to be the problem after looking at this more. Do you have remote access set to disable in yours? I think that may be the problem. Here’s what our administrator remote role looks like:

/Common/Admin {
            attribute F5-LTM-User-Info-1=adm
            console tmsh
            line-order 1
            role administrator
            user-partition all
        }

Success! I was editing the wrong custom attribute and enabling PPP in the wrong section of the TACACS group configuration. I had to add the PPP IP section to the Group config. In ACS 4.2, open Interface Configuration → TACACS+ (Cisco IOS). Under Group, check the box for PPP IP, then Submit. In Group Config for ‘adm’ under TACACS+ Settings, check PPP IP and add the following in the first TACACS+ Settings Custom Attributes box: F5-LTM-User-Info-1=adm On the F5, my remoterole is remoterole { role info adm { attribute F5-LTM-User-Info-1=adm console enable line order 1 deny disable role administrator user partition all } } Thanks for all of your help, Cory!

Glad to hear you got it working.

Hello Cory,

How about the documentation on acs 5.4 ?

Thanks Shivam

I’m not familiar with anything past 5.3 which we are using now. I would guess that 5.4 would be very similar but I don’t know what Cisco changed or added.

Are you having specific problems?

I am looking for attribute which we need to add in acs5.4 for F5

@Cory @judascow Great post guys. Using this, I got LTM BIGIP-11.6.0.0.0.401.ALL-scsi.ova + Cisco Secure ACS 4.2 up and running on basically the first shot. I made the same mistake above, I didn’t originally put the custom attribute under PPP but under “shell”. If anyone needs screenshots of the setup on both LTM and on ACS, I took them. Feel free to hit me up.

Dan, can you please share those screenshots?