You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by springspring <7v...@naver.com> on 2009/07/11 12:32:41 UTC
Re: no client ip... iptables config
apache test
this config. right
<VirtualHost 192.168.0.3:4129>
ServerName 192.68.0.3
ProxyTProxy On
ProxyRequests off
ProxyPass / http://192.168.0.2/
ProxyPassReverse / http://192.168.0.2/
ProxyPreserveHost On
</VirtualHost>
iptables -t tproxy -A PREROUTING -i br0 -p tcp --dport 80 -j TPROXY
--on-port 4129
real webserver access.log no client ip..
192.168.0.3 - - [11/Jul/2009:19:10:31 +0900] "GET /Board/MenuIcon/image.gif
HTTP/1.1" 304 -
as ever remain ..proxy ip
clinet:192.168.0.5
proxy:192.168.0.3
webserver: 192.168.0.2
client ---> proxy ---> webserver (X)
ip(5) ip(3) clientip(3)
oneĀ“s real remain
Tell me how I can get there.
client ---> proxy ---> webserver (0)
ip(5) ip(3) clientip(5)
--
View this message in context: http://www.nabble.com/Tproxy-setup-on-httpd-2.2.9-tp22157310p24439124.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.