Re: Does the transparent can't work in FreeBSD?

2013-07-12 Thread joris dedieu
2013/7/12 jinge altman87...@gmail.com: Hi PiBa-NL, I just follow your advice and find my pf configure is not correct rdr on vlan64 proto tcp from any to any - 127.0.0.1 port And I change to ipfw and fwd then it works corrently. ipfw add fwd 127.0.0.1, tcp from any to any via

Re: Does the transparent can't work in FreeBSD?

2013-07-12 Thread PiBa-NL
Hi Jinge, Nice that you have it working with ipfw. I have no hands-on experience with FreeBSD9 and those divert-to rules. Reading their explanation led me to expect it should be able to work, and resolve the issue of needing 2 firewalls pfipfw simultaneously. As Joris also writes you should

Re: Does the transparent can't work in FreeBSD?

2013-07-11 Thread jinge
Hi PiBa-NL, I just follow your advice and find my pf configure is not correct rdr on vlan64 proto tcp from any to any - 127.0.0.1 port And I change to ipfw and fwd then it works corrently. ipfw add fwd 127.0.0.1, tcp from any to any via vlan64 in And you tell my I can use pf's

Does the transparent can't work in FreeBSD?

2013-07-09 Thread jinge
Hi,all! We use haproxy and FreeBSD for our cache system. And we want to use the transparent option http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4-option%20transparent which for some compatiable things. But found it doest work. Here is the configure which worked in Ubuntu.

Re: Does the transparent can't work in FreeBSD?

2013-07-09 Thread PiBa-NL
Hi Jinge, Im not exactly sure how this is supposed to work.. did manage to get transparent proxy for the server side working.. (the server is presented with a connection from original client ip.) This works with haproxy 1.5dev19 on FreeBSD8.3 with help of some ipfw fwd rules.. Your config