Forum Discussion
Michael_Hunzike
Nimbostratus
Apr 13, 2005Simple rule to allow by network
I've tried a few different operators and am having some trouble doing the following:
Allow a URI to be passed to a pool based on the network it came from.....if it didn't come from an allowed network I would discard.
Example:
If the client_addr is from
192.168.0.0 or 10.1.0.0
then use pool my_pool else discard.
I'm trying to use a class (tried both address and string).
What is the syntax to construct a check on a class for a network?
Since I want all ip's from a specific network to be allowed do I need a starts_with or a matches_regex? Can I use that with classes?
Any help would be appreceated.
- Michael_Hunzike
Nimbostratus
Scratch that.......network address class ...... works like a champ
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