Re: HAproxy as a reverse+transparent proxy help (pfsense)

2012-08-24 Thread Willy Tarreau
On Fri, Aug 24, 2012 at 02:58:38PM +0200, Baptiste wrote:
> On Fri, Aug 24, 2012 at 1:15 PM,   wrote:
> > I said it very clearly, that i have found how to make it transparent,
> No you didn't... But maybe my english understanding is too bad :)

I can confirm you're not the only one.

Also, I'd say something : the fact that a problem has been explained clearly
or not cannot be judged by the person explaining it but by the persons trying
to understand it.

And e-mails as long as an SMS to describe a vague problem mixing several
concepts is all but clear.

At this point I don't know if the requester wants :
  - to find a way to enable transparent proxy in the pfsense kernel
  - to find a way to enable transparent proxy in haproxy
  - to get some help troubleshooting a config involving transparent proxy
  - anything else ?

> > and i said also the exact way to do it. I want help with the set up of the 
> > reverse proxy.
> 
> this is exactly where you are not clear.
> As soon as you use HAProxy, you own a Reverse-proxy.
> 
> So this is still unclear to me.

Same for me.

Please man, take some time to write a *real* e-mail. One in which you
explain what you're trying to achieve, how you expect it to work, what
setup you made, what you're observing and what you've tested to fix the
issue. Otherwise it's pointless to rant like above in two-sentences
messages. You're not on IRC here.

Thanks,
Willy




Re: HAproxy as a reverse+transparent proxy help (pfsense)

2012-08-24 Thread Baptiste
read this carefully: HAProxy is a reverse-proxy.

regards


On Fri, Aug 24, 2012 at 3:08 PM,   wrote:
> Yes and i am asking how to set up haproxy to works as a reverse proxy. 
> Because haproxy can do load balance too.
>
>
> Regards,
>
> ---
> posted at http://www.serverphorums.com
> http://www.serverphorums.com/read.php?10,552462,552625#msg-552625
>



Re: HAproxy as a reverse+transparent proxy help (pfsense)

2012-08-24 Thread haproxy
Yes and i am asking how to set up haproxy to works as a reverse proxy. Because 
haproxy can do load balance too.


Regards,

---
posted at http://www.serverphorums.com
http://www.serverphorums.com/read.php?10,552462,552625#msg-552625



Re: HAproxy as a reverse+transparent proxy help (pfsense)

2012-08-24 Thread Baptiste
On Fri, Aug 24, 2012 at 1:15 PM,   wrote:
> I said it very clearly, that i have found how to make it transparent,
No you didn't... But maybe my english understanding is too bad :)

> and i said also the exact way to do it. I want help with the set up of the 
> reverse proxy.

this is exactly where you are not clear.
As soon as you use HAProxy, you own a Reverse-proxy.


So this is still unclear to me.

cheers



Re: Dynamic DNS lookup

2012-08-24 Thread Baptiste
Hi,

no way for now.
In the roadmap ther is a feature to fix this problem: HAProxy will do
nslookup during the health check to know if the server IP has changed.
Not any date for this dev to be done for now.

cheers


On Fri, Aug 24, 2012 at 1:30 PM, Igor  wrote:
> I have dynamic FQDN server in backend like: b1.example.com:, which
> b1.example.com has dynamic IP, haproxy seems not work properly when
> server's IP changed. Any way to work around?
>
> Thanks.
>
> Bests,
> -Igor
>



Dynamic DNS lookup

2012-08-24 Thread Igor
I have dynamic FQDN server in backend like: b1.example.com:, which
b1.example.com has dynamic IP, haproxy seems not work properly when
server's IP changed. Any way to work around?

Thanks.

Bests,
-Igor



Re: HAproxy as a reverse+transparent proxy help (pfsense)

2012-08-24 Thread haproxy
I said it very clearly, that i have found how to make it transparent, and i 
said also the exact way to do it. I want help with the set up of the reverse 
proxy. 



This...


Regards,

---
posted at http://www.serverphorums.com
http://www.serverphorums.com/read.php?10,552462,552583#msg-552583



Re: HAproxy as a reverse+transparent proxy help (pfsense)

2012-08-24 Thread Baptiste
so please clarify your question cause I don't understand anything and
I'm not the only one.

cheers

On Fri, Aug 24, 2012 at 10:27 AM,   wrote:
> Yeah, the all thing is not this. The transparent proxy is the last thing i 
> want to know.
>
> ---
> posted at http://www.serverphorums.com
> http://www.serverphorums.com/read.php?10,552462,552500#msg-552500
>



Re: HAproxy as a reverse+transparent proxy help (pfsense)

2012-08-24 Thread haproxy
Yeah, the all thing is not this. The transparent proxy is the last thing i want 
to know.

---
posted at http://www.serverphorums.com
http://www.serverphorums.com/read.php?10,552462,552500#msg-552500



Re: HAproxy as a reverse+transparent proxy help (pfsense)

2012-08-24 Thread haproxy
Hi Baptiste,

It's a VM and generally i don't think that it needs compile with transparent 
proxy enabled in the packages of pfsense there is haproxy and haproxy supports 
transparency.

Regards,

---
posted at http://www.serverphorums.com
http://www.serverphorums.com/read.php?10,552462,552488#msg-552488



Re: HAproxy as a reverse+transparent proxy help (pfsense)

2012-08-24 Thread Baptiste
Hi,

Are you sure pfsense kernel has been compiled with TPROXY enabled?

cheers

On Fri, Aug 24, 2012 at 9:09 AM,   wrote:
> Good morning people,
>
> since yesterday i have an existing problem that i can't solve without any 
> help..
> Topology:
> pfsense (Reverse+transparent proxy (haproxy), Load Balancer (of pfsense), SSL 
> termination (stunnel))
> after pfsense i have 2 web servers that pfsense load balance them.
> Here is the picture with the exact topology:
> http://i50.tinypic.com/6tmzcm.png
> so i have a pfsense VM with haproxy installed and i want this scenario:
> when a user hits a public IP address or later the domain of a server http or 
> https i want to send him to 1 of the 2 servers depends of the load balancer. 
> Also i want this reverse proxy make it transparent i think this is the easy 
> step and i think that i have found it, its on the haproxy -> tab Frontends -> 
> checkbox "Use 'forwardfor' option" . But how can i set it up in this topology?
>
> ---
> posted at http://www.serverphorums.com
> http://www.serverphorums.com/read.php?10,552462,552462#msg-552462
>



HAproxy as a reverse+transparent proxy help (pfsense)

2012-08-24 Thread haproxy
Good morning people, 

since yesterday i have an existing problem that i can't solve without any help..
Topology:
pfsense (Reverse+transparent proxy (haproxy), Load Balancer (of pfsense), SSL 
termination (stunnel))
after pfsense i have 2 web servers that pfsense load balance them.
Here is the picture with the exact topology: 
http://i50.tinypic.com/6tmzcm.png
so i have a pfsense VM with haproxy installed and i want this scenario: 
when a user hits a public IP address or later the domain of a server http or 
https i want to send him to 1 of the 2 servers depends of the load balancer. 
Also i want this reverse proxy make it transparent i think this is the easy 
step and i think that i have found it, its on the haproxy -> tab Frontends -> 
checkbox "Use 'forwardfor' option" . But how can i set it up in this topology?

---
posted at http://www.serverphorums.com
http://www.serverphorums.com/read.php?10,552462,552462#msg-552462