Forum Discussion
Ranvir_Floura_7
Nimbostratus
Mar 25, 2009redirect based on source ip address
Need a little help in coming up with an iRule where if the client IP matches i want it going to a pool, if not just redirect to a url. I am missing something here
when CLIENT_ACCEPTED ...
pjcampbell_7243
Cirrus
Apr 15, 2009What am I doing wrong ? I have the following, and it is dropping all connections
when CLIENT_ACCEPTED {
if { [matchclass [IP::client_addr] equals $::relay_hosts_allowed]} {
forward
} else {
drop
}
}
relay_hosts_allowed contains a whole bunch of networks and hosts, including the one that I am using to test of course.
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
