Re: [squid-users] brige+ squid + tproxy on a box running a web server

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 15 Aug 2010 13:48:32 +1200

Mamadou Touré wrote:
> Hi,
> all on my brige+ squid + tproxy i'm running a web server.
> and i cannot access to web page hosted on the box.
> in my access.log i have a TCP_MISS/503 3157 GET
>
> my config
> +++++++++++++++++++++++++++++++++
> iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY
> --tproxy-mark 0x1/0x1 --on-port 3129
>
> ebtables -t broute -A BROUTING -i $CLIENT_IFACE -p ipv4 --ip-proto tcp
> --ip-dport 80 -j redirect --redirect-target DROP
>
> ebtables -t broute -A BROUTING -i $INET_IFACE -p ipv4 --ip-proto tcp
> --ip-sport 80 -j redirect --redirect-target DROP
>
> +++++++++++++++++++++++++++++++++
>
> can you help me solve that problem.
> regards.

A bridge running as web server? 'tis not a pure bridge any more.
Remember to turn on all the regular router controls and security rules.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.6
   Beta testers wanted for 3.2.0.1
Received on Sun Aug 15 2010 - 01:48:41 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 16 2010 - 12:00:02 MDT