Forum Discussion
VIP needed for many UDP ports
- Nov 14, 2024
Hi JD_Tomzak
Can u try this with below irule, you can allow all port (configure 0 udp). create a irule and map. dont add any pools in resource. some ports i added as example. you can try it with your ports.(I am not tried this in lab)
when CLIENT_ACCEPTED {
# Get the destination port of the incoming UDP packet
set udp_port [UDP::local_port]# Select pool based on the destination port of the UDP packet
switch $udp_port {
53 {
pool pool_dns
}
123 {
pool pool_ntp
}
514 {
pool pool_syslog
}
1812 {
pool pool_radius
}
}
}
Looks like this will work fine. Glad to see UDP is an option in Irule but odd that its not available for policy.
Thanks for the quick reply!
Recent Discussions
Related Content
* 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