Forum Discussion
mci_bofh_8164
Nimbostratus
Aug 07, 2007iRule 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 suggestio...
Deb_Allen_18
Aug 07, 2007Historic F5 Account
(Moved post to iRules v9.x forum.)
Try this instead:
when CLIENT_ACCEPTED {
if {[TCP::remote_port] == 110} {
pool POP3
} elseif {[TCP::remote_port] == 25} {
pool SMTP
} else {
discard
}
}
/deb
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects