Forum Discussion

jones_mj14_4616's avatar
jones_mj14_4616
Icon for Nimbostratus rankNimbostratus
Dec 22, 2010

New to irules

Hi Guys

 

 

I have inherited an F5 configuration, with the following irule configured

 

 

when CLIENT_ACCEPTED {

 

if {[IP::addr [IP::client_addr]/23 equals 10.49.50.0]} {

 

snat automap

 

}

 

}

 

 

This does not seem to applied anywhere, and some of the guys here believe that this is applied as a gloabal configuration. Is it possible to have this set as a Global Irule, without selecting this against any VIPs?

 

 

Please let me know, i've never used irules before, so not sure on the configurations

 

 

Thanks

 

 

Marc

3 Replies

  • You could certainly have snat automap applied to a VIP but this is an iRule and would have to be applied in the iRules section so no, not globally applied.
  • Thanks Chris, so just to confirm for myself. I would need to add this irule to a resource on VIP for it to work?
  • Correct...if you want the automap to be specific to that network. If the VIP has "Automap" selected under "SNAT Pool," then it will automap all traffic, not just this range.