Forum Discussion
Harry_175563
Nimbostratus
Nov 25, 2014To create an irule to direct traffic irrespective of ports ( all ports)
Hi,
can any one help me creating an irule for the following :
source IP: 0.0.0.0/0
destination IP : 0.0.0.0
redirect the traffic of port 80 to one pool and anything else to another pool..
t...
nitass
Employee
Nov 25, 2014you can check destination port using TCP::local_port and send to specific pool using pool command.
TCP::local_port
https://clouddocs.f5.com/api/irules/TCP__local_port.html
pool
https://clouddocs.f5.com/api/irules/pool.html
by the way, why don't you create 2 virtual servers; one is 0.0.0.0:0/0 and the other one is 0.0.0.0:80/0? so, you do not need the irule.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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