Re: Get client IP

2019-01-16 Thread Aleksandar Lazic
gt; 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. I want to only allow some ip access my website. Please > show me how to al

RE: Get client IP

2019-01-15 Thread Vũ 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 Vũ Xuân Học
-NL' Subject: Re: Get client IP Hi. Am 14.01.2019 um 03:11 schrieb Vũ Xuân Học: > Hi, > > > > I don’t know how to use ssl in http mode. I have many site with many > certificate. > > As you see: > > … > > bind 192.168.0.4:443 (I NAT port 443 from f

Re: Get client IP

2019-01-14 Thread Aleksandar Lazic
haproxy-config.template#L180 https://github.com/openshift/router/blob/master/images/router/haproxy/conf/haproxy-config.template#L198 Regards Aleks > *From:* Aleksandar Lazic > *Sent:* Monday, January 14, 2019 8:45 AM > *To:* haproxy@formilux.org; Vũ Xuân Học ; 'PiBa-NL' > > *Subjec

RE: Get client IP

2019-01-13 Thread Vũ 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 Aleksandar Lazic
the client ip as the setup works in the http config. Best regards Aleks Ursprüngliche Nachricht Von: "Vũ Xuân Học" Gesendet: 14. Jänner 2019 02:17:23 MEZ An: 'PiBa-NL' , 'Aleksandar Lazic' , haproxy@formilux.org Betreff: RE: Get client IP Thanks for your help I

RE: Get client IP

2019-01-13 Thread Vũ 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

Re: Get client IP

2019-01-13 Thread PiBa-NL
Hi, Op 13-1-2019 om 13:11 schreef Aleksandar Lazic: Hi. Am 13.01.2019 um 12:17 schrieb Vũ 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

Re: Get client IP

2019-01-13 Thread Aleksandar Lazic
Hi. Am 13.01.2019 um 12:17 schrieb Vũ 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