Forum Discussion
Dan_Williams_25
Nimbostratus
Sep 19, 2005Selective SNAT iRule
Apologize if this has already been posted.
I recently upgraded to a pair of 6400s that are running v.9.0.5. During the days of 4.5.x, I was able to utilize a "Selective SNAT" rule of sorts t...
Colin_Walker_12
Sep 19, 2005Historic F5 Account
This is certainly something that's possible in v9.x. Here's a good post that shows a rule doing what you're talking about:Click here
Basically, your syntax would use this form:
when CLIENT_ACCEPTED {
if {([IP::addr "[IP::local_addr]/24" equals "10.0.35.0/24"]) and ([IP::addr "[IP::remote_addr]/24" equals "192.168.1.0/24"])} {
use snatpool
} else {
use normal_pool
}
}
Hope this helps.
-ColinHelp 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