Forum Discussion
scott_doty_2411
Nimbostratus
Sep 27, 2006Redirect to VIP based on source IP
Is it possible with iRules to redirect traffic destined for one VIP to a different VIP based on the source IP address of the traffic. In other words if 10.10.10.10 is connecting to VIP "VIP1" redirec...
hoolio
Cirrostratus
Sep 27, 2006Ah, you caught me! I had a couple of logic and syntax errors in the first post, that I edited shortly thereafter.
If you test the current rules in my first post, it should work.
I originally posted an example which was triggered on the CLIENT_ACCEPTED event. If you're using an HTTP command, it needs to be done in an HTTP event. I also left off a closing double quote in the redirect.
Let me know if you retest using the updated rule above and have any problems.
Thanks,
Aaron
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