Forum Discussion
João_Rodrigues
Nimbostratus
Jul 10, 2013Simple SNAT iRule in Route Domain
Hi,
I'm trying to use an iRule to just forward the traffic to the Internet and SNAT it, when all the pool member are down.
I implemented the following iRule, I can see the iRule hits and executions but the traffic is not coming out of the box. This is being done in a specific Route Domain as you can see in the snat IP.
Should this work? What can be wrong?
when HTTP_REQUEST {
if { [active_members HTTP_Pool] equals 0 } {
snat 192.168.106.106%10
}
}
Thanks!
1 Reply
- iaine
Nacreous
Hi
You're not sending your traffic anywhere, only applying a snat address, try something like
when HTTP_REQUEST {
if { [active_members HTTP_Pool] equals 0 } {
snat 192.168.106.106%10
node
}
}
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