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
Altocumulus
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] } {
- uniJan 10, 2014
Altocumulus
PS, if you're posting code, highlight it and click the Preformatted Code button. It makes it much easier to read
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