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

Forum Discussion

mci_bofh_8164's avatar
mci_bofh_8164
Icon for Nimbostratus rankNimbostratus
Aug 07, 2007

iRule redirect based on port

All,

 

 

I am trying to redirect to two different hosts base on port number. One server is hosting SMTP and the other POP3. The following rule seems valid but dosen't seem to work. Any suggestions?

 

 

when CLIENT_DATA {

 

if { [TCP::remote_port] contains "110" } {

 

pool POP3

 

}

 

elseif { [TCP::remote_port] contains "25" } {

 

pool SMTP

 

} else {

 

discard}

 

}

3 Replies

No RepliesBe the first to reply