Re: FreeBSD with options transparent not working.

2013-07-12 Thread jinge
Hi PiBa-NL, I just check my config as your advice. And find the pf.conf is not correct. As I use rdr rdr on vlan64 proto tcp from any to any - 127.0.0.1 port The dst is changed. So I change to use ipfw and it seems get the things done. ipfw add fwd 127.0.0.1, tcp from any to any via

FreeBSD with options transparent not working.

2013-07-11 Thread jinge
Hi,all! We use HAproxy for our web system. And there is a statement if not HTTP will go backend Direct.Which is client-side transparent proxying. Here is the configure. But we found that the Direct backend not working. Is anyone can tell me. Are there any problem in my configure? Or should

Re: FreeBSD with options transparent not working.

2013-07-11 Thread jinge
Hi, Baptiste! But i just test with this and found no use. Regards Jinge On 2013-7-11, at 下午5:35, Baptiste bed...@gmail.com wrote: Hi Jinge, Could you update your source statement to: source 0.0.0.0 usesrc clientip And let us know if that fixed your issue. Baptiste On Thu,

Re: FreeBSD with options transparent not working.

2013-07-11 Thread Baptiste
So the problem might be in the way you compiled HAProxy or you have configured your OS. Unfortunately, I can't help on FreeBSD :'( Baptiste On Thu, Jul 11, 2013 at 11:55 AM, jinge altman87...@gmail.com wrote: Hi, Baptiste! But i just test with this and found no use. Regards Jinge On

Re: FreeBSD with options transparent not working.

2013-07-11 Thread PiBa-NL
Hi Jinge, What version of FreeBSD do you run? What firewall does it use pf/ipfw ? What does haproxy -vv show? (version/transparent options) Can you write a little about the network topology and what isn't working about it? For example like this: ClientMachine = 172.16.1.100/24 Haproxy LAN1 =