Forum Discussion
Different Applications Sharing IP address and Port in a same server
- Jan 10, 2018
Hello,
For the good news, there's nothing complex here, just look into Local Traffic Policy feature. Both requirements can be fulfilled. Since your web-server already can distinguish between two different apps due to its own Web Server listener configuration, your BigIP configuration can be done with a single LTM pool.
Test in your lab or staging environment the following:
1 Virtual Server/1 Local Traffic Policy/1 LTM Pool/2 ASM policies
Local Traffic Policy Logic:
- Default Rule and Action - Select
ASMpolicy1
- Conditional Rule and Action - If HTTP path starts with
, select/app2
ASMpolicy2
LTM Pool:
- LTM Pool is just mapped as Default Pool in Virtual Server configuration
Regards,
- Default Rule and Action - Select
Hello,
For the good news, there's nothing complex here, just look into Local Traffic Policy feature. Both requirements can be fulfilled. Since your web-server already can distinguish between two different apps due to its own Web Server listener configuration, your BigIP configuration can be done with a single LTM pool.
Test in your lab or staging environment the following:
1 Virtual Server/1 Local Traffic Policy/1 LTM Pool/2 ASM policies
Local Traffic Policy Logic:
- Default Rule and Action - Select
ASMpolicy1
- Conditional Rule and Action - If HTTP path starts with
, select/app2
ASMpolicy2
LTM Pool:
- LTM Pool is just mapped as Default Pool in Virtual Server configuration
Regards,
- Juan_Fernando_BJan 10, 2018Nimbostratus
Thanks a lot for your answer, just to confirm, as the Default Action you mean it is the Security Policy that is configured in the regular way in the Virtual Server Policies?
- Hannes_RappJan 11, 2018Nimbostratus
. Here you map that Local Traffic Policy which selects ASM policy based on best-match criteria. And you only need one Local Traffic Policy not two.Virtual Server - Resources - Policies
If you have mapped your Virtual Server to ASM policies in other ways, those should be removed. This includes the default Local Traffic Policy that is created when you first create your ASM policy as per standard procedure.
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