DWillis_251723
Mar 30, 2016Nimbostratus
iRule to allow only TCP port 444, 8000, and 9001
I am configuring a VIP using port 0 to allow all traffic and an iRule to drop everything but TCP ports 444, 8000, and 9001 but my iRule syntax is not being accepted. Here is what I was attempting to configure;
when CLIENT_ACCEPTED { if { not ( [TCP::client_port] != 444 or [TCP::client_port] != 8000 or [TCP::client_port] != 9001 } { drop } }
Any help correcting this iRule would be greatly appreciated.