Forum Discussion
Is it possible to choose the access profile used based on source IP address?
- Nov 02, 2023
Whenever I am forced to used different access profiles, I use an entry VS wich is facing all customers, does not have an access policy and has an associated LTM policy. In the policy I have rules based on the intended conditions (SNI for the attached example) and actions that forward traffic to different internal VS that has the correspinding access profiles.
I don't think there is a iRule command which you can use to select an access profile the way you can switch with SSL profiles. Instead you could use the IP Subnet Match action that determines whether the client IP address matches an IP subnet. You can do something like below.
Recent Discussions
Related Content
* 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