Forum Discussion
hoolio
Cirrostratus
Aug 11, 2013Just a test

hoolio
Cirrostratus
Sep 10, 2013Longer code example with tabs
when CLIENT_ACCEPTED {
log local0. "[IP::client_addr]:[TCP::client_port]: Connected=[IP::local_addr]:[TCP::client_port] [virtual name]"
}
when LB_SELECTED {
if {[IP::addr [LB::server addr] equals 8.8.8.8] } {
snat 6.6.6.6
log local0. "[IP::client_addr]:[TCP::client_port]: Selected=[LB::server], SNAT=[LB::snat], matched=8.8.8.8"
} else {
snat automap
log local0. "[IP::client_addr]:[TCP::client_port]: Selected=[LB::server], SNAT=[LB::snat]
}
}Aaron
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
