Forum Discussion
aboulleill_3013
Nimbostratus
Jan 23, 2018limit access from source 192.168.1.1 to single URL and permit all others
Dears,
I'm trying to write an irule that limit access from source 192.168.1.1 to single url :
else permit to all.When applying the below on VS its not working anymore.
it should be when http_re...
Daniel_Varela
Employee
Jan 24, 2018Add some debugging to your irule as well:
when HTTP_REQUEST {
log local0. "URI: [HTTP::uri]"
log local0. "IP: [IP::client_addr]"
if { ([HTTP::uri] ne "prodfmw-osb.bm.com.lb/cvs/chn.website.cvs.Account_1.0?wsdl") and ([IP::client_addr] equals "192.168.100.201")} {
reject
}
}
The URI you have in the log have to be the same you have in your if.
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
