Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

Michael_C_16907's avatar
Michael_C_16907
Icon for Nimbostratus rankNimbostratus
Jan 29, 2010

simple iRule problem

I'm new in writing an iRule, and I need to write a simple iRule to direct my outbound traffic into 3 different pools. But after I write this iRule, it stops all my traffic. What is the problem with this?

 

 

I need my TCP services SMTP(port25), POP3(port110), LLTP(port1723) and L2TP(port1701) traffic goes through my pool 1.

 

users with 118.143.13.0/24 to my pool 2.

 

and 203.186.55.0/24 to my pool 3.

 

 

when CLIENT_ACCEPTED {

 

if{([TCP::port[TCP::client_port] equals 25]) or ([TCP::port[TCP::client_port] equals 110]) or ([TCP::port[TCP::client_port] equals 1723]) or ([TCP::port[TCP::client_port] equals 1701])}{

 

use pool 1

 

}elseif{[IP::addr [IP::client_addr] equals 118.143.13.0/24]}{

 

use pool 2

 

}elseif{[IP::addr [IP::client_addr] equals 203.186.55.0/24]}{

 

use pool 3

 

}

 

}

 

 

Thanks

 

4 Replies

No RepliesBe the first to reply