Forum Discussion
sunnyman67_1367
Nimbostratus
Nov 11, 2013Using different SNAT Pool List through iRule
Hi guys, i have one question: i have one VS, i want to do SNAT through different SNAT Pool List upon the client source IP address. For example, if the source ip address of client is 1.1.1.1/24 or 1.1...
Matt_Dierick
Employee
Nov 12, 2013You have a log local0. error message with this ??? :
when HTTP_REQUEST
{
log local0. "HTTP Request from [IP::client_addr]"
switch -glob [IP::client_addr] {
"1.1.1.1" -
"1.1.1.2" {
SNAT with 1.1.1.100
log local0. "SNAT with 1.1.1.100"
snatpool VM_SNAT_POOL_1_1_1_100
}
"1.1.1.11" -
"1.1.1.12" {
SNAT with 1.1.1.200
log local0. "SNAT with 1.1.1.200"
snatpool VM_SNAT_POOL_1_1_1_200
}
}
}
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