Forum Discussion

blahblahdab1ah_'s avatar
blahblahdab1ah_
Icon for Nimbostratus rankNimbostratus
Jul 07, 2016
Solved

Selective SNAT problem

I have a node in a pool trying to reach a virtual server that references the same pool. Using the code below does work with one caveat: the node in the pool can only reach itself.   If the service ...
  • blahblahdab1ah_'s avatar
    Jul 07, 2016

    This is the version that worked in this scenario:

     

    when LB_SELECTED {

     

    if {[IP::addr "[IP::client_addr]/24" equals "[LB::server addr]/24"]} {

     

    snat automap } }

     

    Thanks for the help!