Hi, On Sat, Mar 31, 2012 at 05:03:28PM +0800, Delta Yeh wrote: > backend wwwipv6 > source 0.0.0.0 usesrc hdr_ip(X-Forwarded-For) ^^^^^^^^^^^^^^
I was sure I would find an IPv4 "source" statement. It's impossible for haproxy to establish a connection to an IPv6 server using and IPv4 source address (and conversely). > server SERVER 2012:af:fffd::2:8080 maxconn 20000 check fall 3 rise 3 inter > 30s fastinter 1s downinter 1s Also transparent mode does not work in IPv6 right now. Its addition to the kernel is recent and we have to check if the API changed and if so, how. What I'd strongly suggest is to simply forward to your server normally and have your server log the X-Forwarded-For address. Alternatively you may want to check if you can implement the PROXY protocol in your server and have haproxy send it. Regards, Willy