[tproxy] Apache TProxy; proxy: error binding to socket

Dariush Zahedmanesh zahedmanesh at gmail.com
Sat Oct 15 12:17:07 CEST 2011

Hello All
I want to use apache-2.2.14 web server as a transparent proxy in ip layer on
I configured it with following scenario:

      Client1                                                    Apache
TProxy Configured                                  web server ---------------- [em0:,]

My httpd.conf on Tproxy is:
Listen 4129
        ProxyRequests off
        ProxyTProxy On
        ProxyPass /
        ProxyPassReverse /
        ProxyPreserveHost On

I used ipnat for trrafic redirection by following configuration.
rdr em0 port 80 ->  port 4129 tcp

when i request on web client1, i recieve following
error on web browser:
Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.
My apache error log is:
[Sat Oct 15 11:59:45 2011] [debug] mod_proxy_http.c(56): proxy: HTTP:
canonicalising URL //
[Sat Oct 15 11:59:45 2011] [debug] proxy_util.c(1494): [client]
proxy: http: found worker for
[Sat Oct 15 11:59:45 2011] [debug] mod_proxy.c(993): Running scheme http
handler (attempt 0)
[Sat Oct 15 11:59:45 2011] [debug] mod_proxy_http.c(1940): proxy: HTTP:
serving URL
[Sat Oct 15 11:59:45 2011] [debug] proxy_util.c(1999): proxy: HTTP: has
acquired connection for (
[Sat Oct 15 11:59:45 2011] [debug] proxy_util.c(2055): proxy: connecting to
[Sat Oct 15 11:59:45 2011] [debug] proxy_util.c(2153): proxy: connected / to
[Sat Oct 15 11:59:45 2011] [error] (22)Invalid argument: proxy: *error
binding *to socket
[Sat Oct 15 11:59:45 2011] [debug] proxy_util.c(2017): proxy: HTTP: has
released connection for (

How i can fix it?
Any help would be great.

Best regards
Dariush Zahedmanesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/tproxy/attachments/20111015/c8cc7e14/attachment.htm 

More information about the tproxy mailing list