Forum Discussion
toshi_01_132399
Aug 30, 2013Nimbostratus
mysql ip access control
I would like to do the ip access control by using a irule.
However, I failed in the following way.
pool-allowhost-01 have kept some mysql.
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_a...
toshi_01_132399
Aug 31, 2013Nimbostratus
doesn't it return false when client is from 192.168.1.0/24?
What about the syntax of the following
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 172.20.1.262] }
log local0. "Allowing client VIP: [IP::client_addr]"
pool pool-allowhost-01 or forward
} elseif {[IP::addr [IP::client_addr] equals 192.168.1.0/24] } {
log local0. "Allowing client: [IP::client_addr]"
pool pool-allowhost-01 or forward
} else {
log local0. "Rejecting client: [IP::client_addr]"
reject
}
}
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