Forum Discussion
jwlarger
Sep 27, 2019Cirrus
Legacy iRule generating constant error logs
This iRule is verbatim from DevCentral 4 or 5 years ago. when CLIENT_ACCEPTED { # Check if the client IP address is a node in the VIP's default pool and active if {[matchclass [IP::clien...
iaine
Sep 30, 2019Nacreous
Hi
Matchclass or class match are used to compare against Data Groups but I don't see one defined in your code and the error being returned indicates the same. Therefore, try this
when CLIENT_ACCEPTED {
# Check if the client IP address is a node in the VIP's default pool and active
if {[IP::client_addr] equals [active_nodes -list [LB::server pool]]}{
# log local0. "SNAT'ing for [IP::client_addr], member of pool [LB::server pool]"
snat automap
}
}
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