Forum Discussion
Geethanjali_321
Nimbostratus
Oct 25, 2012Packet filter does not work
HI All,
I have implemented a packet filter to block access to a VS from all IP addresses except one. I tried the same through an iRule. But it did not seem to work. Here is the iRule:
w...
What_Lies_Bene1
Cirrostratus
Oct 25, 2012Great. There's a couple of ways you can do this. For pure simplicity you could just modify the if statement;
if { ( ! [IP::addr [IP::client_addr] equals x.x.x.x]) or ( ! [IP::addr [IP::client_addr] equals y.y.y.y]) or ( ! [IP::addr [IP::client_addr] equals z.z.z.z])
But the best way would be to use a Data Group and reference that. I'm sure nitass will be along with an example any minute!Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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