Forum Discussion
Sonny_J_Bonds_1
Mar 31, 2015Nimbostratus
iRule Exception Help
I have this rule setup on Virtual serverA to allow communication to happen only on the port listed below. I now want to set it so it doesn't run through the rule below when this incoming IP (192.x.x...
- Mar 31, 2015
I would try with:
if { not [IP::addr [IP::client_addr] equals "192.x.x.20"] } { if { not ( [TCP::local_port] == 25 or [TCP::local_port] == 53 or [UDP::local_port] == 53 or ... ) } {
Drop request drop } }
DevBabu_174449
Mar 31, 2015Cirrus
I would try with:
if { not [IP::addr [IP::client_addr] equals "192.x.x.20"] }
{
if { not (
[TCP::local_port] == 25 or
[TCP::local_port] == 53 or
[UDP::local_port] == 53 or
...
) } {
Drop request drop } }
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