Forum Discussion
Mike_Graston_10
Nimbostratus
Sep 13, 2007allow specified IP addresses
All,
I have wrote this after looking through the code share and it doesn't seem too efficent. I would have like to create a class where as I could edit the class to allow either IP or netw...
Mike_Graston_10
Nimbostratus
Sep 13, 2007After looking at it I would like tobe able to use a data group to allow access where as I specify the ip/networks but can not figure out how my Irule will look.
I have this as an example:
when CLIENT_ACCEPTED {
if { [matchclass [IP::client_addr] equals $::permitted-IPs] } {
pool pool-my-pool
}
drop
}
So my data group "permitted-IPs" would include the network or host IP I want to allow.i would like to send a 404 back instead of dropping the seesion but that becomes more complicated.
Mike
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