Forum Discussion
hung_37471
Sep 27, 2011Nimbostratus
How to config PBR
hi all
can you help me , how to config PBR on the BIg Ip ?
on the web GUI , i can't see anywhere to config PBR
thanks all
ccb
Aug 19, 2014Employee
Hi,
Try this (haven't tested in a lab). Obviously pool named pool_hop_1 must exist.
when CLIENT_ACCEPTED {
log local0. "PBR iRule starting"
if { [TCP::local_port clientside] equals 80 } {
if { [active_members pool_hop_1] < 1 } {
log local0. "No active pool members so will SNAT"
snat automap
} else {
pool pool_hop_1
log local0. "PBR on port 80 successful"
}
}
}
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