Forum Discussion
pete_71470
Feb 12, 2013Cirrostratus
We have a similar situation where all traffic to nodes is SNAT'ed, mostly AutoMap, but some non-HTTP nodes need to log the connecting client's IP. We use a simple iRule to log the connection:
...
when SERVER_CONNECTED {
HSL::send $hsl "<190> CONNECT: client [IP::client_addr]:[TCP::client_port] vip [clientside {IP::local_addr}]:[clientside {TCP::local_port}] node [IP::server_addr]:[TCP::server_port]"
}
...