RE: Get client IP

2019-01-15 Thread Xuân Học
Dear, I fixed it. I use { src x.x.x.x ... } in use_backend and it worked. Many thanks, -Original Message- From: Vũ Xuân Học Sent: Wednesday, January 16, 2019 10:37 AM To: 'Aleksandar Lazic' ; 'haproxy@formilux.org' ; 'PiBa-NL' Subject: RE: Get client IP Hi, I have other problem

RE: Get client IP

2019-01-15 Thread Xuân Học
: keyword 'hdr' which is incompatible with 'frontend tcp-request connection rule' I try with some other keyword but not successful. -Original Message- From: Aleksandar Lazic Sent: Monday, January 14, 2019 5:20 PM To: Vũ Xuân Học ; haproxy@formilux.org; 'PiBa

RE: Get client IP

2019-01-13 Thread Xuân Học
) -i einvoice.com.vn … (many acl like above) use_backend eBH if host_1 use_backend einvoice443 if host_2 From: Aleksandar Lazic Sent: Monday, January 14, 2019 8:45 AM To: haproxy@formilux.org; Vũ Xuân Học ; 'PiBa-NL' Subject: RE: Get client IP

RE: Get client IP

2019-01-13 Thread Xuân Học
don’t know how to accept proxy, I only know config X-Forwarded-For like this http://www.loadbalancer.org/blog/iis-and-x-forwarded-for-header/ From: PiBa-NL Sent: Sunday, January 13, 2019 10:06 PM To: Aleksandar Lazic ; Vũ Xuân Học ; haproxy@formilux.org Subject: Re: Get client IP

Get client IP

2019-01-13 Thread Xuân Học
Hi, Please help me to solve this problem. I use HAProxy version 1.5.18, SSL transparent mode and I can not get client IP in my .net mvc website. With mode http, I can use option forwardfor to catch client ip but with tcp mode, my web read X_Forwarded_For is null. My diagram: Client =>