Forum Discussion
smrh1363_179625
Nimbostratus
Sep 07, 2017How to Block 10.0.0.0/8
Hello I am new in iRule world i want to block 10.0.0.0/8 with iRue, i prepared the below iRule, would you please check it for me. Thank you Mohammad
when HTTP_REQUEST { if { ([IP::addr [IP::client_addr] equals 10.0.0.0/8]) } { drop } }
- Simon_Blakely
Employee
when HTTP_REQUEST { if { ([IP::addr [IP::client_addr]/8 equals 10.0.0.0]) } { drop } }
- Ryannnnnnnnn
Altocumulus
Heya,
I knew I'd seen a similar discussion in the past couple of days. Please see This post that points out how you might be able to achieve the same result but more efficiently.
- Simon_Blakely
Employee
Nice spot, Ryan.
when HTTP_REQUEST { if { ([IP::addr [IP::client_addr] equals "10.0.0.0/8"]) } { 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