Forum Discussion
mr_evil_116524
Nimbostratus
Jan 10, 2014Source destination irule
Hello All,
I am trying to do source to destination iRULe not sure what I am doing below is my iRULE:
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals vm1 ] || [IP::add...
uni_87886
Cirrostratus
Jan 10, 2014You need brackets in your if statement, as the && takes precedence over the ||. Could that be your problem?
if { ([IP::addr [IP::client_addr] equals vm1 ] || [IP::addr [IP::client_addr] equals vm2 ] )
&& [IP::addr [IP::local_addr] equals remote ip] } {
uni_87886
Cirrostratus
Jan 10, 2014PS, if you're posting code, highlight it and click the Preformatted Code button. It makes it much easier to read
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