Hi Lboogie25,
you may try this snippet if each pool needs a different IP address filter...
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_addr] equals x.x.x.x/24] and ([TCP::local_port] == 80) } then {
pool HTTP-Pool
} elseif { [IP::addr [IP::remote_addr] equals x.x.x.x/24] and ( [TCP::local_port] == 22 ) } then {
pool SSH-Pool
}
}
... or if both pools using the same IP address filter, then try this snippet...
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_addr] equals x.x.x.x/24] {
if { [TCP::local_port] == 80 } then {
pool HTTP-Pool
} elseif { [TCP::local_port] == 22 } then {
pool SSH-Pool
}
}
}
Cheers, Kai