Forum Discussion
Richard_Grigsby
Nimbostratus
Feb 20, 2018iRule for SMPT allowed - moved from 10.2.3 to 12.2
Existing iRule on 10.2.3 does not work on 12.2. Is there a sytax difference from 1.2.3 to 12.2
Called Data Group List: smtp_relay_allowed is in place
Snat Pool List: snat_smtp_relay is in...
rob_carr
Cirrocumulus
Feb 21, 2018More readable format:
when CLIENT_ACCEPTED {
set accepted_snat "10.40.1.199"
if { [ class exists smtp_relay_allowed ] } {
if { [class match [IP::client_addr] equals $::smtp_relay_allowed] } {
snat $accepted_snat
} else {
snat automap
}
} else {
snat automap
}
}
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