Forum Discussion
thebishop_10153
Nimbostratus
Feb 15, 2013SNAT iRule
I am trying to write a SNAT rule that will use a data group to map the client address to a specific SNAT in version 10.2.3. Due to the protocol, we need this functionality to allow traceability in o...
thebishop_10153
Nimbostratus
Feb 18, 2013Below if the latest.
when CLIENT_ACCEPTED {
TCP::collect 8
set snat_address [class match -value "[IP::client_addr]" equals snat_map]
log local0. "snat_address is $snat_address"
if { "$snat_address" ne "" } {
snat $snat_address
}
}
class snat_map {
"\"10.100.61.150\" { \"10.146.1.7\" }"
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