Forum Discussion
lai_elephant_53
Nimbostratus
Jul 05, 2005irule setting??
my bigip V9.0.5 , and i setup a datagroup,this group have all the computer can internet,others can not go to internet,i want to check if the rule i wrote like below,it right or wrong???
when CLIENT_ACCEPTED {
if {[[matchclass [IP::remote_addr] equals {$::Proxy_Server}]]}
{pool out_bound_pool}
{discard}
}
1 Reply
- unRuleY_95363Historic F5 AccountFirst, you have a double set of square brackets, so you need to remove one set. Second, you need an "else" between the two statement blocks.
Try this:when CLIENT_ACCEPTED { if {[matchclass [IP::remote_addr] equals {$::Proxy_Server}]} { pool out_bound_pool } else { discard } }
