Forum Discussion

BJL_01_139818's avatar
Icon for Nimbostratus rankNimbostratus
Dec 05, 2014

Intelligent SNAT Pool

Hi guys, i have a few questions: i have one VS, i want to do SNAT through different SNAT Pool List upon the client source IP address.   I have some questions regarding this :   Is the only way...
  • Syed_Nazir_1624's avatar
    Dec 05, 2014

    Below is the iRule considering you already have x no of DataGroups already with required Client IP address


    when CLIENT_ACCEPTED { if { [ class match [IP::client_addr] equals DataGroup1 ] } { snat snatIP1 } elseif { [ class match [IP::client_addr] equals DataGroup1 ] } { snat snatIP2 } if nothing matches use snat IP configured in virtual server }