Forum Discussion

Dustin_Schueman's avatar
Dustin_Schueman
Icon for Nimbostratus rankNimbostratus
May 30, 2014

SNAT Automap

I have two VLAN's behind our F5. I am trying to setup SNAT so that when a client on VLAN 10 connects to a VIP load balancing to VLAN 20 it works. I created an iRule and applied it to virtual server for the VIP on vlan 20. It still isn't working.

 

when CLIENT_ACCEPTED { if {[IP::addr [IP::client_addr] equals 10.63.136.13] and [IP::addr [IP::local_addr] equals 10.63.27.170]}{ snat automap } }

 

  • Try this one:

    when CLIENT_ACCEPTED { 
     if { [IP::addr [IP::client_addr] equals 10.63.136.13] and [IP::addr [IP::local_addr clientside] equals 10.63.27.170]} { 
      snat automap 
      }
    }
    
  • Try this one:

    when CLIENT_ACCEPTED { 
     if { [IP::addr [IP::client_addr] equals 10.63.136.13] and [IP::addr [IP::local_addr clientside] equals 10.63.27.170]} { 
      snat automap 
      }
    }