Forum Discussion
Danny_Trinh_197
Nimbostratus
Mar 01, 2009Check ports TCP443, TCP5061, UDP3478, TCP-UDP-50000-59999
I'm still in elementary level of iRule. I have script below to check ports. This script is for MS Unified communication (UC). Can you go through to see if I miss some thing?
The scrip will do: ...
Desai_124243
Nimbostratus
Oct 20, 2015Hi, I wanna allow only 4 TCP/UDP ports from Virtual. Is below IRULE correct for it?
rule allowing_tcp_udp_traffic_rl { when CLIENT_ACCEPTED { Check if requested port is allowing only TCP 443, TCP 80, UDP 4500 and UDP 500 if { ( [TCP::client_port] != 443 or [TCP::client_port] != 80 or [UDP::client_port] != 500 or [TCP::client_port] != 4500 ) } { Drop request drop } }
}
Recent Discussions
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