Forum Discussion
Andy_McGrath
Oct 16, 2015Cumulonimbus
Think you will need an iRule like this to identify the client IP and tcp port for each outbound connection:
when CLIENT_ACCEPTED {
if { [TCP::local_port] == 21] || [TCP::local_port] == 22] }{
if { [IP::addr [IP::client_addr] equals 10.0.0.10] {
snat 172.18.1.1
} elseif { [IP::addr [IP::client_addr] equals 10.0.0.11] }{
snat 172.18.1.1
}
}
}