Re: [squid-users] Question on transparent proxy with web server behind proxy.

2011-01-25 Thread Ben Greear
On 01/25/2011 11:14 AM, Pieter De Wit wrote: Hi Ben, I suspect that will do the trick :) It seems it was a tad more tricky, but this appears to be working: sbin/ebtables -t broute -A BROUTING -i br0 --logical-in veth2 -p IPv4 --ip-protocol 6 --ip-destination-port 80 -j redirect --redirect-ta

Re: [squid-users] Question on transparent proxy with web server behind proxy.

2011-01-25 Thread Pieter De Wit
Hi Ben, I suspect that will do the trick :) Let us know Cheers, Pieter On Tue, 25 Jan 2011, Ben Greear wrote: On 01/25/2011 10:36 AM, Ben Greear wrote: On 01/25/2011 10:06 AM, Pieter De Wit wrote: Hi Ben, On 26/01/2011 06:55, Ben Greear wrote: On 01/25/2011 09:48 AM, Pieter De Wit wrote

Re: [squid-users] Question on transparent proxy with web server behind proxy.

2011-01-25 Thread Ben Greear
On 01/25/2011 10:36 AM, Ben Greear wrote: On 01/25/2011 10:06 AM, Pieter De Wit wrote: Hi Ben, On 26/01/2011 06:55, Ben Greear wrote: On 01/25/2011 09:48 AM, Pieter De Wit wrote: Hi Ben, There sure is :) Change the IP Tables rule at the bottom to something like this: /sbin/iptables -t nat

Re: [squid-users] Question on transparent proxy with web server behind proxy.

2011-01-25 Thread Ben Greear
On 01/25/2011 10:06 AM, Pieter De Wit wrote: Hi Ben, On 26/01/2011 06:55, Ben Greear wrote: On 01/25/2011 09:48 AM, Pieter De Wit wrote: Hi Ben, There sure is :) Change the IP Tables rule at the bottom to something like this: /sbin/iptables -t nat -A PREROUTING -i br0 -p tcp -s 192.168.0.0/

Re: [squid-users] Question on transparent proxy with web server behind proxy.

2011-01-25 Thread Pieter De Wit
Hi Ben, On 26/01/2011 06:55, Ben Greear wrote: On 01/25/2011 09:48 AM, Pieter De Wit wrote: Hi Ben, There sure is :) Change the IP Tables rule at the bottom to something like this: /sbin/iptables -t nat -A PREROUTING -i br0 -p tcp -s 192.168.0.0/24 --dport 80 -j REDIRECT --to-port 3128 Repl

Re: [squid-users] Question on transparent proxy with web server behind proxy.

2011-01-25 Thread Ben Greear
On 01/25/2011 09:48 AM, Pieter De Wit wrote: Hi Ben, There sure is :) Change the IP Tables rule at the bottom to something like this: /sbin/iptables -t nat -A PREROUTING -i br0 -p tcp -s 192.168.0.0/24 --dport 80 -j REDIRECT --to-port 3128 Replace the 192.168 with your network. Keep in mind t

Re: [squid-users] Question on transparent proxy with web server behind proxy.

2011-01-25 Thread Pieter De Wit
Hi Ben, There sure is :) Change the IP Tables rule at the bottom to something like this: /sbin/iptables -t nat -A PREROUTING -i br0 -p tcp -s 192.168.0.0/24 --dport 80 -j REDIRECT --to-port 3128 Replace the 192.168 with your network. Keep in mind that you can have multiples of these :) In

[squid-users] Question on transparent proxy with web server behind proxy.

2011-01-25 Thread Ben Greear
Hello! We have a squid + bridge + transparent proxy working pretty well. It seems to be properly caching and dealing with data when requests are coming from behind the bridge to the outside world. But, there are some web servers behind the bridge that should be accessible to the outside world.