Forum Discussion
Renevdb_80118
Nimbostratus
Apr 13, 2012Change outgoing NAT
Hi, Looking for the irule that can change the outgoing IP address based on destination, I've seen it but can't find it anymore. Background: We have multiple local subnets whic...
hoolio
Cirrostratus
Apr 13, 2012Yes, you could assign a specific pool in each clause.
when CLIENT_ACCEPTED {
if { [class match -- [IP::local_addr] equals dest1_dg] } {
snat 1.1.1.1
pool pool_a
} elseif { [class match -- [IP::local_addr] equals dest2_dg] } {
snat 2.2.2.2
pool pool_b
} else {
snat 3.3.3.3
pool pool_c
}
}
Aaron
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