Forum Discussion
cshannahan_3137
Nimbostratus
Apr 18, 2018Help creating irule for source persistance/no source persistance.
Hey, I have a virtual server that requires source persistance for a few sources (incoming tcp connections) but not all of them.
For now I've created many virtual servers (one virtual address) wi...
iaine
Nacreous
Apr 18, 2018Hi
Create a datagroup and add all of the source ips to it that you want to have persistence records for. Then use an iRule like this one to pick out these clients
when CLIENT_ACCEPTED {
if {[class match [IP::client_addr] equals ]} {
persist source_addr
}
}
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