Forum Discussion
tsrkkmurthy
Nimbostratus
Jul 23, 2019SNAT Irule for both inline & non-inline servers
Can anyone please help me with a irule. I have both INLINE[F5 is gateway] & NON-INLINE [either switch or router is a gateway] for a ONE pool of servers, now i need to SNAT NON-LINE servers to automap...
JG
Cumulonimbus
Jul 23, 2019You can create a data group "inline_servers" and a snat pool "my_snat_pool_1".
when LB_SELECTED {
if { [class match [LB::server addr] eq "inline_servers"] } {
snat none
} else {
snatpool my_snat_pool_1
}
}.
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