Re: [squid-users] problem running transparent proxy with squid-2.6.stable6

2007-01-06 Thread zulkarnain
--- Henrik Nordstrom [EMAIL PROTECTED] wrote: [Firewall]: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 192.168.1.2:3128 This only kind of works, but very tricky to get right. First problem is that the proxy box MUST be configured to route return traffic to

Re: [squid-users] problem running transparent proxy with squid-2.6.stable6

2007-01-06 Thread Henrik Nordstrom
lör 2007-01-06 klockan 04:44 -0800 skrev zulkarnain: How to configure proxy to route return traffic via firewall? I try rules iptables -t nat -A PREROUTING -i eth0 -s ! 192.168.1.2 -p tcp --dport 80 -j DNAT --to 192.168.1.2:3128 but won't work correctly. any help would be great. Thanks.

[squid-users] problem running transparent proxy with squid-2.6.stable6

2006-12-28 Thread zulkarnain
Hi, I'm having problem running transparent proxy with squid-2.6S6 where squid is not running in the same box with router/firewall. Here is my configuration: [Client]---[Squid]---[Firewall][Web server] 192.168.1.3 192.168.1.2 192.168.1.1 192.168.2.2

Re: [squid-users] problem running transparent proxy with squid-2.6.stable6

2006-12-28 Thread Menuhin Saitov
On Thu, Dec 28, 2006 at 05:31:21AM -0800, zulkarnain wrote: Hi, I'm having problem running transparent proxy with squid-2.6S6 where squid is not running in the same box with router/firewall. Here is my configuration: [Client]---[Squid]---[Firewall][Web server] 192.168.1.3

Re: [squid-users] problem running transparent proxy with squid-2.6.stable6

2006-12-28 Thread Alexandre Correa
your squid behind firewall.. and firewall is redirecting requests from squid too... try this on firewall iptables -t nat -A PREROUTING -i eth0 -s ! 192.168.1.2 -p tcp --dport 80 -j DNAT --to 192.168.1.2:3128 On 12/28/06, Menuhin Saitov [EMAIL PROTECTED] wrote: On Thu, Dec 28, 2006 at

Re: [squid-users] problem running transparent proxy with squid-2.6.stable6

2006-12-28 Thread Henrik Nordstrom
tor 2006-12-28 klockan 05:31 -0800 skrev zulkarnain: Hi, I'm having problem running transparent proxy with squid-2.6S6 where squid is not running in the same box with router/firewall. transparent and not running on the router/firewall is tricky unless one uses WCCP or similar support in the