I am unsure but I am almost sure you need to compile TPROXY support in
FreeBSD kernel and it's not out of the box.
I might be imagining but this is how it was the last time I tried it.
Eliezer
On 6/12/2013 7:36 PM, Georgios Androulidakis wrote:
Hello,
I am trying to use the TPROXY feature in FreeBSD 9.1 but when I start
squid I get the following error message:
2013/06/12 18:51:47| FATAL: http(s)_port: TPROXY support in the system
does not work.
FATAL: Bungled /usr/local/etc/squid/squid.conf line 12: http_port 3128
tproxy
Squid Cache (Version 3.3.5): Terminated abnormally.
While troubleshooting, I noticed that SO_BINDANY does not exist in
FreeBSD. Instead of this, FreeBSD has the IP_BINDANY constant in
/usr/include/netinet/in.h
#define IP_BINDANY 24 /* bool: allow bind to any address */
I changed SO_BINDANY to IP_BINDANY in the squid code but it didn't work.
The problem occurs in both 3.3.4 and 3.3.5 versions.
Has anyone managed to use TPROXY in FreeBSD ?
Kind regards,
George