How i can have the real ip of clients with the configuration below:
Hw Load balancing with F5 Network Bigip Appliance - HTTPS TCP 443 (172.18.185.50 public interface --- NODE1:172.19.100.207,NODE2:172.19.100.206,VIPIP:17 188.8.131.52 inside interface)
Proxy Zimbra TCP 8080 (172.19.100.47,172.19.100.48)
ZimbraWebmail1-ZimbraWebmail2 TCP 80 (172.19.100.47,172.19.100.48)
I have an F5 that balancing and masquering my zimbra proxy on the same machine that ZimbraWebmail (two machine)
When a client X(for example 172.18.37.56) is calling the 172.18.185.50 (public interface F5-Load-Balancing-Appliance) in the audit log for the 172.19.100.47 and 172.19.100.48 (mailbox-servers) there are the ip of the inside interface of F5-Bigip (172.19.100.206,172.19.100.207) and not the of the client.
The F5-Bigip have the function "insert X-Forwrded-For" enabled. Always for the zimbra "zimbra_http_originating_ip_header = X-Forwarded-For".
How i can solve the problem?
I'm needing to change the nginx config to intercept the client ip.
Thanks in advance
Sorry for my english!!!