Forum Discussion
Bciesz_171056
Cirrus
9 years agoiRule if based on incoming IP
Hi,
I have a problem here... I'm trying to make an iRule perform specific action if incoming traffic comes from a specific IP address. I have:
if {[IP::addr [IP::client_addr] equals 10.8.199...
Lee_Sutcliffe
Nacreous
9 years agoNot sure if this is the cause of your issue but you don't need to put the IP address in quotes, try it without as per the wiki: https://clouddocs.f5.com/api/irules/IP__client_addr.html
if {[IP::addr [IP::client_addr] equals 10.8.199.231%3]} {
log local0. "IDMS dupa"
}
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