Forum Discussion
Renevdb_80118
Nimbostratus
Apr 12, 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...
nitass
Employee
Apr 12, 2012is it something like this?
when CLIENT_ACCEPTED {
if { [class match -- [IP::local_addr] equals dest1_dg] } {
snat 1.1.1.1
} elseif { [class match -- [IP::local_addr] equals dest2_dg] } {
snat 2.2.2.2
} else {
snat 3.3.3.3
}
}
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