Hello All
I want to use apache-2.2.14 web server as a transparent proxy in ip layer on freebsd-7.0.
I configured it with following scenario:
Client1 Apache TProxy Configured web server
172.20.13.43 ---------------- [em0:172.20.13.196, 192.168.100.101:em1] --------------------192.168.100.102
My httpd.conf on Tproxy is:
....
Listen 4129
<VirtualHost 172.20.13.196:4129>
ServerName 172.20.13.196
ProxyRequests off
ProxyTProxy On
ProxyPass / http://192.168.100.102/
ProxyPassReverse / http://192.168.100.102/
ProxyPreserveHost On
</VirtualHost>
I used ipnat for trrafic redirection by following configuration.
/etc/ipnat.conf:
rdr em0 192.168.100.102/32 port 80 -> 172.20.13.196 port 4129 tcp
when i request http://192.168.100.102 on web client1, i recieve following error on web browser:
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: