Forum Discussion
Francisco_Lucio
Nimbostratus
May 22, 2008Big-ip4 to 9 Migration
Hi, I need to comvert this rule from version 4 to 9
{ if (client_addr == 172.16.30.248 or client_addr == 172.16.100.10 or client_addr == 172.16.30.251 or client_addr == 172.16.100.12 or client_addr == 172.16.30.15 or client_addr == 172.16.31.244 or client_addr == 172.16.31.242 or client_addr == 172.16.30.17 or client_addr == 172.16.30.18) { use pool server1}
else { discard}
}
I am do it in this way but I do know how may I add more IP addr.
when CLIENT_ACCEPTED {
if { [[IP::local_addr] equals 172.16.30.248]} {
pool Server_1
} else {
discard
}
}
Thanks in advance
2 Replies
- hoolio
Cirrostratus
Hi,
Check the post below for an example. If you wanted to handle disallowed requests more gracefully, you could respond with a redirect or HTML content using HTTP::respond.
Limited Access to VIP by Source IP (Click here)
Aaron - Francisco_Lucio
Nimbostratus
Hi
Aron, Many thanks, I will check it, I will let you know if it works.
Frank
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
