Forum Discussion
Tham_T__330907
Nov 13, 2017Nimbostratus
F5 APM Limit max user per session
Currently, F5 running on APM with SSL VPN function. How is it possible if I want to set the max session per user to "1".
The Access Profile setting allow me only ... for example scenario of F5 USER A login to PC1 - > Passed USER A login to PC2 - > Passed and terminate the session on PC1
But it's not my desire, I want the scenario like USER A login to PC1 - > Passed USER A login to PC2 - > Cannot Login
Are there any solution that can config it, or I have to use iRules to detect it.
Thanks
- Stanislas_Piro2Cumulonimbus
you can try this irule (not tested)
when ACCESS_POLICY_COMPLETED { set max_concurrent_sessions [PROFILE::access max_concurrent_sessions] set apm_uuid "[PROFILE::access name].[ACCESS::session data get session.logon.last.username]" if {$max_concurrent_sessions > 0 && [set apm_cookie_list [ ACCESS::uuid getsid $apm_uuid ]] >= $max_concurrent_sessions} { ACCESS::respond 302 noserver Location "/vdesk/hangup.php3" }
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects