Forum Discussion
Check1t_282465
Nimbostratus
Mar 09, 2018irule for https 2 http for specific IP
Any suggestions for an irule (or policy) that would force all http traffic to https except for a specific IP which would be allowed to access http?
Thanks.
Surgeon
Mar 10, 2018Ret. Employee
Create your own policy or iRule, it is very easy. We can have a look what wrong with that if it is not working. You can use data group for conditional redirect. Next links can help you with that
 
https://support.f5.com/csp/article/K26312346
 
https://support.f5.com/csp/article/K14996 
https://clouddocs.f5.com/api/irules/http__redirect.html 
https://devcentral.f5.com/s/articles/irules-101-02-if-and-expressions 
https://devcentral.f5.com/s/articles/the101-irules-101-datagroups-amp-tables 
Creating LTM policy via GUI is intuitive. You can create LTM policy instead of iRule
 
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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