Forum Discussion
nitass
Aug 27, 2013Employee
not sure if i understand correctly. does it seem destination ip and port translation based on source ip and port?
e.g.
ltm rule myrule {
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals a.b.c.d] } {
switch [TCP::client_port] {
x {
node p.o.i.u y
}
default {
do something
}
}
} elseif { [IP::addr [IP::client_addr] equals q.w.e.r] } {
switch [TCP::client_port] {
x {
node p.o.i.u z
}
default {
do something
}
}
} else {
do something
}
}
}