Forum Discussion
2 rules in same VIP
You can apply multiple iRules to a Virtual Server. They are evaluated in order.
create ltm virtual myvirtual destination 1.1.1.1:80 rules { myrule_two myrule_one }
list ltm virtual myvirtual
ltm virtual myvirtual {
destination 1.1.1.1:http
mask 255.255.255.255
profiles {
fastL4 { }
}
rules {
myrule_two
myrule_one
}
source 0.0.0.0/0
translate-address enabled
translate-port enabled
vs-index 3
}
You may create or modify either via tmsh, REST or the web UI.
- usengar-oracle_Apr 13, 2017
Nimbostratus
Do we need to set some priority too on these iRules..?
however they are for different Events..
first one checked white-listing of source IP, if source IP exist in the list then allowed to access the VIP and the other one is for HSTS..
first one is already applied so we need to modify the VIP config, is below config correct..?
modify ltm virtual /Public/vs_htsvhypdev1_em3_xxx_com_443_new rules { saas_sdi_vpn_whitelist_rule hsts_insert_rule }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
