scott_sams_8256
Oct 22, 2007Nimbostratus
mixed irule?
i am new to irules so forgive my ignorance.
we use a simple irule as follows. i want to do a redirect to a url on the else (public inbound traffic) during maintenance).
when CLIENT_ACCEPTED {
checks to see if client_addr = any in the class
if { [matchclass [IP::client_addr] equals $::private_net]} {
snat automap
use pool g_pool
} else {
snat none
use pool g_pool
}
}
i had looked at using http_redirect but that isnt valid under the client_accepted. is there another way to do this?
thanks,
scott