Richard_Grigsby
Feb 21, 2018Nimbostratus
iRule 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 place calling 10.40.1.199
iRule: smtp_relay_rule :
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 } }