Forum Discussion
name_65682
Nimbostratus
Aug 30, 2011Maintenance iRule with time period
Hi,
I'm trying to write iRule which will allow some ip's (f.e. 10.10.10.101) to get to my pools, for any other ip's it should redirect to maintenance page. But I wont it to work only during time periods f.e. from 22:00 29.08.2011 to 6:00 30.08.2011. Is it possible?
5 Replies
Sort By
- is it similar to this one?
- name_65682
Nimbostratus
Yes, I think it will do ;], thanks for help - name_65682
Nimbostratus
Hi again, - Colin_Walker_12Historic F5 AccountYes, moving this to CLIENT_ACCEPTED should work for TCP connections instead of HTTP.
- hoolio
Cirrostratus
As Colin said, you can just change the event from HTTP_REQUEST to CLIENT_ACCEPTED. As you're not using any HTTP commands or responses it should just work.
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